unpacked-maybe-numeric: maybes of numeric values with fewer indirections
This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
This library provides one Maybe
type per the usual numeric types:
Float, Double, Complex {Float|Double}, Int{|8|16|32|64}, and Word{|8|16|32|64}
All of the numeric types inside the Maybe
are unboxed, while the Maybe
value
itself is represented as an Unboxed Sum (though for sub-machine-size Int/Word values,
the Maybe
is just a wrapper around the underlying type, with out-of-bounds corresponding
to the Nothing
value. Thus, the usage of these constructors is unsafe, as this is only
checked internally).
[Skip to Readme]
Properties
Versions | 0.1.0.0, 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.3.0, 0.1.3.1 |
---|---|
Change log | None available |
Dependencies | base (>=4.10.1.0 && <5), primitive (>=0.6.4) [details] |
License | BSD-3-Clause |
Copyright | 2018 Andrew Martin |
Author | Andrew Martin, chessai |
Maintainer | andrew.thaddeus@gmail.com, chessai1996@gmail.com |
Category | Data |
Home page | https://github.com/andrewthad/unpacked-maybe-numeric#readme |
Bug tracker | https://github.com/andrewthad/unpacked-maybe-numeric/issues |
Source repo | head: git clone https://github.com/andrewthad/unpacked-maybe-numeric |
Uploaded | by chessai at 2018-12-24T20:38:27Z |
Modules
[Index] [Quick Jump]
- Data
- Maybe
- Unpacked
- Numeric
- Complex
- Data.Maybe.Unpacked.Numeric.Double
- Data.Maybe.Unpacked.Numeric.Float
- Data.Maybe.Unpacked.Numeric.Int
- Data.Maybe.Unpacked.Numeric.Int16
- Data.Maybe.Unpacked.Numeric.Int32
- Data.Maybe.Unpacked.Numeric.Int64
- Data.Maybe.Unpacked.Numeric.Int8
- Data.Maybe.Unpacked.Numeric.Word
- Data.Maybe.Unpacked.Numeric.Word16
- Data.Maybe.Unpacked.Numeric.Word32
- Data.Maybe.Unpacked.Numeric.Word64
- Data.Maybe.Unpacked.Numeric.Word8
- Numeric
- Unpacked
- Maybe
Downloads
- unpacked-maybe-numeric-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees