From 7ba2a2ea29171d7758d76dff2cc3e1cfb7edf8fa Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Wed, 25 Apr 2007 14:29:14 +0000 Subject: [PATCH] use Any as the HValue type, this should be a bit safer than forall a.a --- compiler/ghci/ByteCodeLink.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/ghci/ByteCodeLink.lhs b/compiler/ghci/ByteCodeLink.lhs index 7304d02..e8bae70 100644 --- a/compiler/ghci/ByteCodeLink.lhs +++ b/compiler/ghci/ByteCodeLink.lhs @@ -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 -- 1.7.10.4