Introduce Unknowns for the closure viewer. Add breakpointCond which was missing
authormnislaih@gmail.com <unknown>
Tue, 25 Jul 2006 17:45:37 +0000 (17:45 +0000)
committermnislaih@gmail.com <unknown>
Tue, 25 Jul 2006 17:45:37 +0000 (17:45 +0000)
GHC/Base.lhs
GHC/Exts.hs

index 7269c87..2b79b78 100644 (file)
@@ -731,6 +731,8 @@ breakpoint r = r
 breakpointCond :: Bool -> a -> a
 breakpointCond _ r = r
 
+data Unknown 
+
 -- | Constant function.
 const                  :: a -> b -> a
 const x _              =  x
index 651396a..7b850d4 100644 (file)
@@ -29,7 +29,7 @@ module GHC.Exts
        Splittable(..),
 
        -- * Debugging
-       breakpoint,
+       breakpoint, breakpointCond, Unknown,
 
        -- * Ids with special behaviour
        lazy, inline,