primitive-unlifted: Primitive GHC types with unlifted types inside

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Downloads

Maintainer's Corner

Package maintainers

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.13), 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 2024-10-11T12:28:55Z
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, 260 indirect [details]
Downloads 13736 total (250 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-10-20 [all 1 reports]