
On May 3, 2010, at 12:14 , Henning Thielemann wrote:
Ketil Malde schrieb:
Henning Thielemann
writes: http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-E...
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.
One could argue that it's a more comprehensible to mortals version of Control.Monad.Cont. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH