
21 Oct
2010
21 Oct
'10
8:47 a.m.
On 16/10/2010 20:03, Bas van Dijk wrote:
Hello,
Attached is a small documentation fix for Control.Exception that replaces references to the deprecated 'block' with the recommended 'mask' combinator.
Thanks! I'll integrate it.
There's one line in the section 'Applying mask to an exception handler' that I'm not sure about what to do with:
"If you need to unblock asynchronous exceptions again in the exception handler, just use 'unblock' as normal."
Do we really need to point users to a deprecated function?
No - the equivalent would be mask $ \restore -> do restore io `catch` \e -> ... restore ... Cheers, Simon