./devel/hs-primitive-unlifted, Primitive GHC types with unlifted types inside

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.1.0.0nb2, Package name: hs-primitive-unlifted-2.1.0.0nb2, Maintainer: pkgsrc-users

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.


Master sites:

Filesize: 29.486 KB

Version history: (Expand)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-04-30 15:39:51 by Masatake Daimon | Files touched by this commit (2)
Log message:
devel/hs-primitive-unlifted: Fix build with GHC 9.8

This breaks build with the currently default GHC 9.6. Please bear with me
until I switch the default compiler.
   2023-11-02 07:37:49 by Masatake Daimon | Files touched by this commit (1141)
Log message:
Revbump all Haskell after updating lang/ghc96
   2023-10-29 08:35:45 by Masatake Daimon | Files touched by this commit (4)
Log message:
devel/hs-primitive-unlifted: Update to 2.1.0.0

2.1.0.0 -- 2023-06-28
* Change the order of the type arguments to UnliftedArray_ and
  MutableUnliftedArray_. This makes the library work better with the
  typeclasses in the contiguous library.

2.0.0.0 -- 2023-06-27
* Use legitimate unlifted primitive types and operations, only supporting
  GHC 9.4 and newer.

1.0.0.0 -- 2020-11-02
* Redo everything. This uses unsafeCoerce# a lot to coerce between lifted
  and unlifted types. Stay on the 0.1.x.x series unless you need something
  from this newer version.
   2023-10-09 06:55:01 by Masatake Daimon | Files touched by this commit (988)
Log message:
Bump Haskell packages after updating lang/ghc94
   2022-02-26 04:58:36 by Masatake Daimon | Files touched by this commit (872)
Log message:
Bump all Haskell packages after enabling "split sections" in mk/haskell.mk
   2022-02-16 10:53:15 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/hs-primitive-unlifted: import hs-primitive-unlifted-0.1.3.1

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.