On Mon, 14 Jun 2004, Tim Docker wrote: > Both of these approaches seem fairly "invasive" in their > effect on the code. Are people using haskell for real world > tasks happy with having to choose from these? The former is > more general, but any function that needs to be able to > fail or propagate failure will end up being a do {} block. >
The ability to fail doesn't need the do notation, just use of return for success - similar for propagating failure. -- [EMAIL PROTECTED] _______________________________________________ Haskell mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell