diff options
author | sheaf <sam.derbyshire@gmail.com> | 2021-06-23 21:47:17 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-06-25 05:19:18 -0400 |
commit | d1f59540e8b7be96b55ab4b286539a70bc75416c (patch) | |
tree | f4727baa0a369a30056e3a67c82c25b6ea0f7484 /libraries/ghc-prim | |
parent | fa6451b70faf0aaeb849dfeccb2c24e5d4c16fa6 (diff) | |
download | haskell-d1f59540e8b7be96b55ab4b286539a70bc75416c.tar.gz |
Make reallyUnsafePtrEquality# levity-polymorphic
fixes #17126, updates containers submodule
Diffstat (limited to 'libraries/ghc-prim')
-rw-r--r-- | libraries/ghc-prim/changelog.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libraries/ghc-prim/changelog.md b/libraries/ghc-prim/changelog.md index 122856346f..ec8df7904b 100644 --- a/libraries/ghc-prim/changelog.md +++ b/libraries/ghc-prim/changelog.md @@ -39,6 +39,15 @@ raise# :: forall (a :: Type) {r :: RuntimeRep} (b :: TYPE r). a -> b ``` +- `reallyUnsafePtrEquality#` is now levity-polymorphic: + + ``` + reallyUnsafePtrEquality# :: forall {l :: Levity} (a :: TYPE (BoxedRep l)). a -> a -> Int# + ``` + + This means that `reallyUnsafePtrEquality#` now works on primitive arrays, + such as `Array#` and `ByteArray#`. + ## 0.8.0 (edit as necessary) |