[Haskell-cafe] Newbie: Is it possible to catch _|_ ?
Wolfgang Jeltsch
wolfgang at jeltsch.net
Tue Apr 6 21:26:15 EDT 2004
Am Dienstag, 6. April 2004 16:23 schrieb Russ Lewis:
> Another newbie question: Is it possible to catch _|_ - that is, to
> encounter it, handle it and continue? I'm assuming that you all are
> going to say no, since I can't figure out any way to do this and retain
> the functional nature of Haskell.
If you want to signal errors and later catch them, you probably should use
Maybe value instead of value as the return types of your functions in
question.
Wolfgang
More information about the Haskell-Cafe
mailing list