RE: fail

1999-01-28 Thread Mark P Jones
| As you probably know, GHC and Hugs now support an exception mechanism | which lets you recover from calls to 'error' -- but of course that's | not in H98. Sorry Simon, but it's not supported in any currently released version of Hugs either. All the best, Mark

RE: fail

1999-01-28 Thread Simon Peyton-Jones
Ralph, > you said that `fail' intentionally calls `error' in the IO monad > because it corresponds to pattern matching failure. I would buy this > argument if `fail' were used only internally. But it is exposed to the > user: she or he is free to call `fail'. Now, in the list > monad `fail s' >