* [email protected] <[email protected]> [2012-10-05 17:19:21+0600]
> >   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 ?

See chapter 19 of Real World Haskell, especially section "Laziness and
Exception Handling".
http://book.realworldhaskell.org/read/error-handling.html

Roman

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to