projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c6f9cd
)
doc fix: don't refer to unblock.
author
Simon Marlow
<marlowsd@gmail.com>
Mon, 8 Nov 2010 13:32:12 +0000
(13:32 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Mon, 8 Nov 2010 13:32:12 +0000
(13:32 +0000)
Control/Exception.hs
patch
|
blob
|
history
diff --git
a/Control/Exception.hs
b/Control/Exception.hs
index
c573e3a
..
7ade09b
100644
(file)
--- 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