From 2ffc032d01590801e265822c162d0eb385a22fbf Mon Sep 17 00:00:00 2001 From: Ross Paterson Date: Mon, 23 Oct 2006 16:39:25 +0000 Subject: [PATCH] fix example in comment --- Control/Exception.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Control/Exception.hs b/Control/Exception.hs index d789f06..1a40780 100644 --- a/Control/Exception.hs +++ b/Control/Exception.hs @@ -372,7 +372,7 @@ userErrors _ = Nothing -- The arguments to 'bracket' are in this order so that we can partially apply -- it, e.g.: -- --- > withFile name = bracket (openFile name) hClose +-- > withFile name mode = bracket (openFile name mode) hClose -- bracket :: IO a -- ^ computation to run first (\"acquire resource\") -- 1.7.10.4