primitive-unlifted: Primitive GHC types with unlifted types inside
Primitive GHC types with unlifted types inside. There used
to be a module named Data.Primitive.UnliftedArray
in the
primitive
library. However, it turns out that it is impossible
to write such an API safely in versions of GHC before 8.10.1, thanks
to some nasty interactions between unsafe coercions and the foreign
function interface. This package also uses a somewhat different,
and more flexible, approach than that module did.
Modules
- Data
- Primitive
- TArray
- Data.Primitive.TArray.Classic
- Unlifted
- Data.Primitive.Unlifted.Array
- Data.Primitive.Unlifted.Array.Primops
- Data.Primitive.Unlifted.Array.ST
- Data.Primitive.Unlifted.Box
- Data.Primitive.Unlifted.Class
- Data.Primitive.Unlifted.MVar
- Data.Primitive.Unlifted.MVar.Primops
- Data.Primitive.Unlifted.MVar.ST
- Data.Primitive.Unlifted.MutVar
- Data.Primitive.Unlifted.MutVar.Primops
- Data.Primitive.Unlifted.MutVar.ST
- Data.Primitive.Unlifted.SmallArray
- Data.Primitive.Unlifted.SmallArray.Primops
- Data.Primitive.Unlifted.SmallArray.ST
- Data.Primitive.Unlifted.Type
- Data.Primitive.Unlifted.Weak
- Data.Primitive.Unlifted.Weak.IO
- Data.Primitive.Unlifted.Weak.Primops
- Data.Primitive.Unlifted.Array
- TArray
- Primitive
Downloads
- primitive-unlifted-2.0.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.3.0, 0.1.3.1, 1.0.0.0, 2.0.0.0, 2.1.0.0, 2.2.0.0 (info) |
---|---|
Change log | CHANGELOG.md |
Dependencies | array, base (>=4.17.1.0 && <5), bytestring (>=0.10.8.2 && <0.12), primitive (>=0.7 && <0.10), text-short (>=0.1.3 && <0.2) [details] |
Tested with | ghc ==9.4.5 |
License | BSD-3-Clause |
Copyright | 2019 Andrew Martin |
Author | Andrew Martin |
Maintainer | andrew.thaddeus@gmail.com |
Category | Data |
Home page | https://github.com/haskell-primitive/primitive-unlifted |
Bug tracker | https://github.com/haskell-primitive/primitive-unlifted/issues |
Source repo | head: git clone https://github.com/haskell-primitive/primitive-unlifted.git |
Uploaded | by andrewthad at 2023-06-27T17:03:05Z |
Distributions | Arch:0.1.3.1, LTSHaskell:2.1.0.0, NixOS:2.1.0.0, Stackage:2.2.0.0 |
Reverse Dependencies | 20 direct, 263 indirect [details] |
Downloads | 14552 total (12 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2023-08-25 [all 2 reports] |