[commit: packages/ghc-prim] master: Add Since-annotation to `Coercible` (a3b0a06)

git at git.haskell.org git at git.haskell.org
Sat Mar 1 10:06:23 UTC 2014


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/a3b0a06a2bbe37122f1a3d5e20926bc30f5656d1/ghc-prim

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

commit a3b0a06a2bbe37122f1a3d5e20926bc30f5656d1
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Mar 1 11:05:45 2014 +0100

    Add Since-annotation to `Coercible`
    
    Signed-off-by: Herbert Valerio Riedel <hvr at gnu.org>


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

a3b0a06a2bbe37122f1a3d5e20926bc30f5656d1
 GHC/Types.hs |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/GHC/Types.hs b/GHC/Types.hs
index 0d7583d..96673e1 100644
--- a/GHC/Types.hs
+++ b/GHC/Types.hs
@@ -136,6 +136,8 @@ data (~) a b = Eq# ((~#) a b)
 --      by writing
 --
 --      @type role Set nominal@
+--
+--      /Since: 4.7.0.0/
 data Coercible a b = MkCoercible ((~#) a b)
 
 -- | Alias for tagToEnum#. Returns True of its parameter is 1# and False



More information about the ghc-commits mailing list