[Haskell-cafe] does try force evaluation of IO value

s9gf4ult at gmail.com s9gf4ult at gmail.com
Fri Oct 5 13:19:21 CEST 2012

>   Prelude Control.Exception> r <- try (return $ error "bam") :: IO (Either
> SomeException Int) Prelude Control.Exception> r
>   Right *** Exception: bam
Wow, this is realy breaking news for me. Where can i read more about this 
magic ?

More information about the Haskell-Cafe mailing list