projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
0362724
)
[project @ 1998-08-27 13:08:54 by sof]
author
sof
<unknown>
Thu, 27 Aug 1998 13:08:54 +0000
(13:08 +0000)
committer
sof
<unknown>
Thu, 27 Aug 1998 13:08:54 +0000
(13:08 +0000)
Spell out which IO functions the Prelude provides
ghc/lib/std/Prelude.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/Prelude.lhs
b/ghc/lib/std/Prelude.lhs
index
000dd10
..
d81b810
100644
(file)
--- a/
ghc/lib/std/Prelude.lhs
+++ b/
ghc/lib/std/Prelude.lhs
@@
-9,7
+9,6
@@
module Prelude (
-- Everything from these modules
module PrelList,
-- Everything from these modules
module PrelList,
- module PrelIO,
module PrelTup,
-- From PrelBase
module PrelTup,
-- From PrelBase
@@
-40,7
+39,12
@@
module Prelude (
ReadS, Read(readsPrec, readList),
reads, read, lex, readParen,
ReadS, Read(readsPrec, readList),
reads, read, lex, readParen,
- -- From PrelShow
+ -- From IO
+ IO, FilePath, IOError,
+ fail, userError, catch,
+ putChar, putStr, putStrLn, print,
+ getChar, getLine, getContents, interact,
+ readFile, writeFile, appendFile, readIO, readLn,
-- From PrelNum
Ratio, Rational,
-- From PrelNum
Ratio, Rational,
@@
-62,7
+66,6
@@
module Prelude (
import PrelBase
import PrelList
import PrelBase
import PrelList
-import PrelIO
import PrelRead
import PrelNum
import PrelTup
import PrelRead
import PrelNum
import PrelTup
@@
-72,6
+75,7
@@
import PrelBounded
import Monad
import Maybe
import PrelErr ( error, seqError )
import Monad
import Maybe
import PrelErr ( error, seqError )
+import IO
-- These can't conveniently be defined in PrelBase because they use numbers,
-- or I/O, so here's a convenient place to do them.
-- These can't conveniently be defined in PrelBase because they use numbers,
-- or I/O, so here's a convenient place to do them.