
23 Jun
2006
23 Jun
'06
12:42 p.m.
On 6/23/06, Simon Marlow
What did I do wrong?
Did you changed the Judy/Map.hs code to not use Dummy (see below)? The code I commited is the version with the workaround. Anyway, I'm going to darcs pull and recompile GHC to check if the behaviour changes. -----------8<------------ Index: Judy/Map.hs =================================================================== --- Judy/Map.hs (revisão 10752) +++ Judy/Map.hs (cópia de trabalho) @@ -56,7 +56,8 @@ class Dummy a instance Dummy a -instance Dummy a => Refeable a where +--instance Dummy a => Refeable a where +instance Refeable a where toRef a = do a' <- newStablePtr a return (ptrToWordPtr (castStablePtrToPtr a')) ---------->8------------- -- Caio Marcelo