[Haskell-cafe] Haskell and the Software design process

Gregory Collins greg at gregorycollins.net
Mon May 3 11:27:01 EDT 2010


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
?

G.
-- 
Gregory Collins <greg at gregorycollins.net>


More information about the Haskell-Cafe mailing list