From 750c80ccf391f12b7795e6634731a593179b7209 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 8 Nov 2010 13:32:12 +0000 Subject: [PATCH] doc fix: don't refer to unblock. --- Control/Exception.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Control/Exception.hs b/Control/Exception.hs index c573e3a..7ade09b 100644 --- a/Control/Exception.hs +++ b/Control/Exception.hs @@ -268,7 +268,7 @@ to write something like > (\e -> handler) If you need to unblock asynchronous exceptions again in the exception -handler, just use 'unblock' as normal. +handler, 'restore' can be used there too. Note that 'try' and friends /do not/ have a similar default, because there is no exception handler in this case. Don't use 'try' for -- 1.7.10.4