[Haskell-cafe] Failing to catch exception
mike at proclivis.com
Thu Oct 8 17:55:15 UTC 2015
This was in a draft that got sent by accident. No help needed. I understand why deepseq fixes the problem.
> On Oct 8, 2015, at 11:22 AM, Michael Jones <mike at proclivis.com> wrote:
> Ok, I need some conceptual help on this one. If the action “in" the catch is not evaluated, I would think the catch itself cannot be fully evaluated. Once IO demands the value from the work “in” the catch, how can it escape the catch?
> To me it seemed like the exception triggered the death of the wx callback without an evaluation of the catch, like the runtime let it escape.
More information about the Haskell-Cafe