[commit: packages/ghc-prim] master: Implement SPEC for SpecConstr as a built in type. (df7661a)

git at git.haskell.org git at git.haskell.org
Fri Oct 25 14:30:30 UTC 2013


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

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

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

commit df7661a6ba9b44aa047817c907070e4d0af11337
Author: Austin Seipp <austin at well-typed.com>
Date:   Fri Oct 25 06:13:55 2013 -0500

    Implement SPEC for SpecConstr as a built in type.
    
    Signed-off-by: Austin Seipp <austin at well-typed.com>


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

df7661a6ba9b44aa047817c907070e4d0af11337
 GHC/Types.hs |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/GHC/Types.hs b/GHC/Types.hs
index 3872666..0e03143 100644
--- a/GHC/Types.hs
+++ b/GHC/Types.hs
@@ -19,7 +19,8 @@ module GHC.Types (
         Bool(..), Char(..), Int(..), Word(..),
         Float(..), Double(..),
         Ordering(..), IO(..),
-        isTrue#
+        isTrue#,
+        SPEC(..)
     ) where
 
 import GHC.Prim
@@ -153,3 +154,6 @@ isTrue# x = tagToEnum# x
 -- just make isTrue# an alias to tagToEnum#. This is a temporary solution (if
 -- you're reading this in 2023 then things went wrong). See #8326.
 --
+
+-- | Lorem ipsum...
+data SPEC = SPEC | SPEC2



More information about the ghc-commits mailing list