[Haskell-cafe] Haskell and the Software design process

Limestraël limestrael at gmail.com
Tue May 4 09:09:42 EDT 2010


2010/5/4 John Lato <jwlato at gmail.com>

> "Crashing at the point of the error" isn't necessarily useful in
> Haskell due to lazy evaluation.  The code will crash when the result
> of the partial function is evaluated, which may be quite far away (in
> terms of function calls) from where the programmer would expect.
>

Is that why Haskell can't provide a traceback when exceptions are raised?

Are there other methods than Maybe or exceptions to handle the errors in
Haskell? Is the monad Error(T) useful?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100504/2241ec26/attachment.html


More information about the Haskell-Cafe mailing list