From: Ross Paterson Date: Mon, 23 Oct 2006 16:39:25 +0000 (+0000) Subject: fix example in comment X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=2ffc032d01590801e265822c162d0eb385a22fbf;p=haskell-directory.git fix example in comment --- 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\")