[Haskell-cafe] Haskell and the Software design process

Henning Thielemann schlepptop at henning-thielemann.de
Mon May 3 12:14:35 EDT 2010


Ketil Malde schrieb:
> Henning Thielemann <lemming at henning-thielemann.de> writes:
> 
>>> http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-Exception.html#v%3Athrow
> 
>> I see. This should be forbidden, at all! :-)
> 
> Why is this worse than or different from 'error'?  To me it looks like
> 'error', only with a non-string parameter.

Because it encourages the use in a non-error way, that is, catching such
an exception is regarded as good use.


More information about the Haskell-Cafe mailing list