[commit: ghc] master: Sync `ghc-prim` changelog from GHC 8.2 (fc257e4)

git at git.haskell.org git at git.haskell.org
Thu Dec 21 23:13:41 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/fc257e4b60169f2b0f3b0bdef049c90565d8d305/ghc

>---------------------------------------------------------------

commit fc257e4b60169f2b0f3b0bdef049c90565d8d305
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
    
    (cherry picked from commit 4d99a665986f66f403ad49f7d91a1fc069870274)


>---------------------------------------------------------------

fc257e4b60169f2b0f3b0bdef049c90565d8d305
 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