On Friday 01 October 2004 10:57 am, MR K P SCHUPKE wrote:
> >1. Can exceptions be used in "pure" functions (outside of monads?)
>
> Exceptions can be thrown from pure functions, and can be used exactly
> like in the OCaml example (but in Haskell syntax)

Can you give me a quick example of how exactly I would do that?  I'm 
trying to understand the ghc docs and not quite making it.

Thanks!

-- John
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to