Hi all,

I am now trying to learn Haskell for half a week and I like it a lot.
But I still did not find out too much about exception handling. Is it
possible that there is no ml-like mechanism with `raise' and `handle'
built in? Yes, I know about types like

data Result t = ERROR | Yes t

and I also read the chapter in the report about IO, monads, and
userError. But this seems all a little clumsy compared to the elegant
and simple exceptions in standard ml or even ugly languages like java.

Did I miss the point? Are there exceptions libraries? Is there any
extension to Haskell in some existent implementation that handles my
needs? How do you handle exceptions in your Haskell programs?

Thanks a lot, yours,
 Matthias Fischmann



-- 
Max-Planck-Institut fuer Informatik, Saarbruecken
http://www.mpi-sb.mpg.de/~fis/contact.html



Reply via email to