diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-04-25 14:29:14 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-04-25 14:29:14 +0000 |
commit | 7ba2a2ea29171d7758d76dff2cc3e1cfb7edf8fa (patch) | |
tree | 53f2310d47039e57b3a3e6d138065e3c32bdc506 /compiler | |
parent | bd657baa7768442553f769721effe98a3c7e58a3 (diff) | |
download | haskell-7ba2a2ea29171d7758d76dff2cc3e1cfb7edf8fa.tar.gz |
use Any as the HValue type, this should be a bit safer than forall a.a
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/ghci/ByteCodeLink.lhs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/ByteCodeLink.lhs b/compiler/ghci/ByteCodeLink.lhs index 7304d0290b..e8bae70c2d 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 |