[commit: ghc-prim] no-pred-ty: Don't need IPBox any longer since I'm going to use newtype to do it (62f5115)
Max Bolingbroke
batterseapower at hotmail.com
Tue Sep 6 17:09:46 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/ghc-prim
On branch : no-pred-ty
http://hackage.haskell.org/trac/ghc/changeset/62f51156720d860c3ab91ce86cae697417ce8594
>---------------------------------------------------------------
commit 62f51156720d860c3ab91ce86cae697417ce8594
Author: Max Bolingbroke <batterseapower at hotmail.com>
Date: Tue Sep 6 15:53:58 2011 +0100
Don't need IPBox any longer since I'm going to use newtype to do it
>---------------------------------------------------------------
GHC/Types.hs | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/GHC/Types.hs b/GHC/Types.hs
index e1e7470..8e1c11b 100644
--- a/GHC/Types.hs
+++ b/GHC/Types.hs
@@ -18,8 +18,7 @@
module GHC.Types (
Bool(..), Char(..), Int(..),
Float(..), Double(..),
- Ordering(..), IO(..),
- IPBox(..)
+ Ordering(..), IO(..)
) where
import GHC.Prim
@@ -79,13 +78,6 @@ or the '>>' and '>>=' operations from the 'Monad' class.
newtype IO a = IO (State# RealWorld -> (# State# RealWorld, a #))
--- | A data constructor used to box up all implicit parameter arguments
>---------------------------------------------------------------
--- This is very special in that we never use the IPBox TyCon directly.
--- Instead, internally GHC attributes many different TyCons (one for
--- each implicit parameter name) to the IPBox data constructor
-data IPBox a = IPBox a
-
-- | A data constructor used to box up all unlifted equalities
--
-- The type constructor is special in that GHC pretends that it
More information about the Cvs-libraries
mailing list