use Any as the HValue type, this should be a bit safer than forall a.a
authorSimon Marlow <simonmar@microsoft.com>
Wed, 25 Apr 2007 14:29:14 +0000 (14:29 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 25 Apr 2007 14:29:14 +0000 (14:29 +0000)
compiler/ghci/ByteCodeLink.lhs

index 7304d02..e8bae70 100644 (file)
@@ -58,7 +58,7 @@ import GHC.Base               ( writeArray#, RealWorld, Int(..), Word# )
 
 \begin{code}
 type ClosureEnv = NameEnv (Name, HValue)
-newtype HValue = HValue (forall a . a)
+newtype HValue = HValue Any
 
 emptyClosureEnv = emptyNameEnv