@hackage primitive-unlifted2.2.0.0
Primitive GHC types with unlifted types inside
Installation
Tested Compilers
Dependencies (5)
- array
- base >=4.17.1.0 && <5
- bytestring >=0.10.8.2 && <0.13
- primitive >=0.7 && <0.10
- text-short >=0.1.3 && <0.2 Show all…
Dependents (22)
@hackage/bytetrie, @hackage/castagnoli, @hackage/byteslice, @hackage/posix-api, @hackage/primitive-containers, @hackage/country, Show all…
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.