Commit 7ba2a2ea authored by Simon Marlow's avatar Simon Marlow

use Any as the HValue type, this should be a bit safer than forall a.a

parent bd657baa
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment