[Haskell-cafe] Haskell and the Software design process

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri May 7 21:03:35 EDT 2010


On May 3, 2010, at 12:14 , Henning Thielemann wrote:
> 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.

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 at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100507/88a8ac20/PGP.bin


More information about the Haskell-Cafe mailing list