On May 3, 2010, at 12:14 , Henning Thielemann wrote:
Ketil Malde schrieb:Henning Thielemann <[email protected]> writes:http://www.haskell.org/ghc/docs/6.12.2/html/libraries/base-4.2.0.1/Control-Exception.html#v%3AthrowI 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 suchan 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] [email protected] system administrator [openafs,heimdal,too many hats] [email protected] electrical and computer engineering, carnegie mellon university KF8NH
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
