[Haskell-cafe] Tricky exception handling

Joel Reymont joelr1 at gmail.com
Tue Dec 13 05:07:34 EST 2005


Yes, you are right. I will make the change.

On Dec 13, 2005, at 9:28 AM, Bulat Ziganshin wrote:

> yes, you are muistaken! :)  this code will repeat permanently until
> exception arrived. at this time it will process exception handler and
> then exit the whole function. you musr reread docs. hmm, actually this
> is the way exception handling works in ANY language
>
>>> handle (...)
>>>   repeat_forever
>>>     do cmd <- read h ssl
>>>        post $! Cmd $! cmd

--
http://wagerlabs.com/







More information about the Haskell-Cafe mailing list