[commit: ghc] ghc-8.2: Reintegrate lost `ghc-prim` post-release changelog entries (4d99a66)

git at git.haskell.org git at git.haskell.org
Thu Dec 21 23:12:09 UTC 2017


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

On branch  : ghc-8.2
Link       : http://ghc.haskell.org/trac/ghc/changeset/4d99a665986f66f403ad49f7d91a1fc069870274/ghc

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

commit 4d99a665986f66f403ad49f7d91a1fc069870274
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Fri Dec 22 00:04:19 2017 +0100

    Reintegrate lost `ghc-prim` post-release changelog entries
    
    These changelog entries didn't make the original ghc 8.2.1 release and
    were produced as part of my post-release documentation process...


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

4d99a665986f66f403ad49f7d91a1fc069870274
 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 047720d..d0b06a2 100644
--- a/libraries/ghc-prim/changelog.md
+++ b/libraries/ghc-prim/changelog.md
@@ -10,7 +10,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