primitive-unlifted: Primitive GHC types with unlifted types inside

[ bsd3, data, library ] [ Propose Tags ]

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

[Last Documentation]

  • 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

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 (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]
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.1.0.0
Reverse Dependencies 20 direct, 255 indirect [details]
Downloads 12133 total (195 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]