[Haskell-cafe] Haskell and the Software design process

Henning Thielemann lemming at henning-thielemann.de
Mon May 3 11:34:16 EDT 2010


Gregory Collins schrieb:
> Henning Thielemann <lemming at henning-thielemann.de> writes:
> 
>> It's not possible to throw exceptions from pure code. You can only
>> call 'error' and that's another name for 'undefined', i.e. you have a
>> partial (non-total ?)  function.
> 
> 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! :-)


More information about the Haskell-Cafe mailing list