projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-12-12 13:42:46 by ross]
[haskell-directory.git]
/
System
/
IO.hs
diff --git
a/System/IO.hs
b/System/IO.hs
index
c6ba2c9
..
d6bc1ee
100644
(file)
--- a/
System/IO.hs
+++ b/
System/IO.hs
@@
-62,12
+62,8
@@
module System.IO (
ioeGetFileName, -- :: IOError -> Maybe FilePath
try, -- :: IO a -> IO (Either IOError a)
ioeGetFileName, -- :: IOError -> Maybe FilePath
try, -- :: IO a -> IO (Either IOError a)
- bracket, -- :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
- bracket_, -- :: IO a -> (a -> IO b) -> IO c -> IO c
- -- Non-standard extension (but will hopefully become standard with 1.5) is
- -- to export the Prelude io functions via IO (in addition to exporting them
- -- from the prelude...for now.)
+ -- re-exports of Prelude names
IO, -- instance MonadFix
FilePath, -- :: String
IOError,
IO, -- instance MonadFix
FilePath, -- :: String
IOError,
@@
-157,9
+153,6
@@
import IO
, ioeGetErrorString -- :: IOError -> String
, ioeGetHandle -- :: IOError -> Maybe Handle
, ioeGetFileName -- :: IOError -> Maybe FilePath
, ioeGetErrorString -- :: IOError -> String
, ioeGetHandle -- :: IOError -> Maybe Handle
, ioeGetFileName -- :: IOError -> Maybe FilePath
- , try -- :: IO a -> IO (Either IOError a)
- , bracket -- :: IO a -> (a -> IO b) -> (a -> IO c) -> IO c
- , bracket_ -- :: IO a -> (a -> IO b) -> IO c -> IO c
, IO ()
, FilePath -- :: String
, IO ()
, FilePath -- :: String