[commit: ghc] master: ghc-prim: add API delta as changelog (re #11043) (4b8b934)
git at git.haskell.org
git at git.haskell.org
Sun Nov 1 11:36:31 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/4b8b9347f19c6a260c9f93032447bc82f6457912/ghc
>---------------------------------------------------------------
commit 4b8b9347f19c6a260c9f93032447bc82f6457912
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date: Sun Nov 1 12:34:56 2015 +0100
ghc-prim: add API delta as changelog (re #11043)
[skip ci]
>---------------------------------------------------------------
4b8b9347f19c6a260c9f93032447bc82f6457912
libraries/ghc-prim/changelog.md | 37 +++++++++++++++++++++++++++++++++++++
libraries/ghc-prim/ghc-prim.cabal | 2 ++
2 files changed, 39 insertions(+)
diff --git a/libraries/ghc-prim/changelog.md b/libraries/ghc-prim/changelog.md
new file mode 100644
index 0000000..2e42886
--- /dev/null
+++ b/libraries/ghc-prim/changelog.md
@@ -0,0 +1,37 @@
+## 0.5.0.0
+
+- `GHC.Classes`: new `class IP (a :: Symbol) b | a -> b`
+
+- `GHC.Prim`: changed type signatures from
+
+ check# :: (State# RealWorld -> (# State# RealWorld, a #)) -> State# RealWorld -> (# State# RealWorld, () #)
+ finalizeWeak# :: Weak# a -> State# RealWorld -> (# State# RealWorld, Int#, State# RealWorld -> (# State# RealWorld, () #) #)
+ mkWeak# :: a -> b -> c -> State# RealWorld -> (# State# RealWorld, Weak# b #)
+
+ to
+
+ check# :: (State# RealWorld -> (# State# RealWorld, a #)) -> State# RealWorld -> State# RealWorld
+ finalizeWeak# :: Weak# a -> State# RealWorld -> (# State# RealWorld, Int#, State# RealWorld -> (# State# RealWorld, b #) #)
+ mkWeak# :: a -> b -> (State# RealWorld -> (# State# RealWorld, c #)) -> State# RealWorld -> (# State# RealWorld, Weak# b #)
+
+- Removed from `GHC.Prim`:
+
+ parAt# :: b -> a -> Int# -> Int# -> Int# -> Int# -> c -> Int#
+ parAtAbs# :: a -> Int# -> Int# -> Int# -> Int# -> Int# -> b -> Int#
+ parAtForNow# :: b -> a -> Int# -> Int# -> Int# -> Int# -> c -> Int#
+ parAtRel# :: a -> Int# -> Int# -> Int# -> Int# -> Int# -> b -> Int#
+ parGlobal# :: a -> Int# -> Int# -> Int# -> Int# -> b -> Int#
+ parLocal# :: a -> Int# -> Int# -> Int# -> Int# -> b -> Int#
+
+- Added to `GHC.Prim`:
+
+ getSizeofMutableByteArray# :: MutableByteArray# d -> State# d -> (# State# d, Int# #)
+ subWordC# :: Word# -> Word# -> (# Word#, Int# #)
+
+- Added to `GHC.Types`:
+
+ data Module = Module TrName TrName
+ data Nat
+ data Symbol
+ data TrName = TrNameS Addr# | TrNameD [Char]
+ data TyCon = TyCon Word# Word# Module TrName
diff --git a/libraries/ghc-prim/ghc-prim.cabal b/libraries/ghc-prim/ghc-prim.cabal
index ab59a93..90841ca 100644
--- a/libraries/ghc-prim/ghc-prim.cabal
+++ b/libraries/ghc-prim/ghc-prim.cabal
@@ -12,6 +12,8 @@ build-type: Custom
description:
GHC primitives.
+extra-source-files: changelog.md
+
source-repository head
type: git
location: http://git.haskell.org/ghc.git
More information about the ghc-commits
mailing list