
1 Oct
2004
1 Oct
'04
4:13 p.m.
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