compiler change

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Sep 21 06:03:59 EDT 2006


Hello Christian,

Thursday, September 21, 2006, 12:55:45 PM, you wrote:

> I have to port the following piece of code to ghc-6.6:

may be explicit foralls would help?

> mkSimpleFallOut :: (ObjectID,IO a -> IO (Either String a))

try
mkSimpleFallOut :: (ObjectID, forall a. IO a -> IO (Either String a))
and
mkSimpleFallOut :: forall a. (ObjectID, IO a -> IO (Either String a))

> newFallOut :: IO (ObjectID, IO a -> IO (Either String a))

also two variants

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Glasgow-haskell-users mailing list