
5 Oct
2012
5 Oct
'12
7:53 p.m.
* s9gf4ult@gmail.com
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