[commit: ghc] ghc-8.4: Sync `ghc-prim` changelog from GHC 8.2, again (504b706)
git at git.haskell.org
git at git.haskell.org
Thu Dec 21 23:16:09 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.4
Link : http://ghc.haskell.org/trac/ghc/changeset/504b7065d81ada8c2e1bf89bdf6cdc15966fa61c/ghc
>---------------------------------------------------------------
commit 504b7065d81ada8c2e1bf89bdf6cdc15966fa61c
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Fri Dec 22 00:04:19 2017 +0100
Sync `ghc-prim` changelog from GHC 8.2, again
[skip ci]
(cherry picked from commit 4d99a665986f66f403ad49f7d91a1fc069870274)
>---------------------------------------------------------------
504b7065d81ada8c2e1bf89bdf6cdc15966fa61c
libraries/ghc-prim/changelog.md | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/libraries/ghc-prim/changelog.md b/libraries/ghc-prim/changelog.md
index a2529ea..6248b2f 100644
--- a/libraries/ghc-prim/changelog.md
+++ b/libraries/ghc-prim/changelog.md
@@ -20,7 +20,35 @@
- Added to `GHC.Prim`:
- isPinnedByteArray# :: MutableByteArray# s -> Int#
+ fabsDouble# :: Double# -> Double#
+ fabsFloat# :: Float# -> Float#
+ isByteArrayPinned# :: ByteArray# -> Int#
+ isMutableByteArrayPinned# :: MutableByteArray# s -> Int#
+ anyToAddr# :: a -> State# (RealWorld) -> (# State# (RealWorld),Addr# #)
+
+- New primitives for compact regions in `GHC.Prim`:
+
+ Compact#
+ compactNew#
+ compactResize#
+ compactContains#
+ compactContainsAny#
+ compactGetFirstBlock#
+ compactGetNextBlock#
+ compactAllocateBlock#
+ compactFixupPointers#
+ compactAdd#
+ compactAddWithSharing#
+ compactSize#
+
+- Generalised `noDuplicate#` from
+
+ noDuplicate# :: State# (RealWorld) -> State# (RealWorld)
+
+ to
+
+ noDuplicate# :: State# s -> State# s
+
## 0.5.0.0
More information about the ghc-commits
mailing list