From 05bfa2a63450597c0973171281a4268f16133283 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 30 Sep 1998 09:00:41 +0000 Subject: [PATCH] [project @ 1998-09-30 09:00:41 by sof] Included fixity info declared elsewhere; added 'seq' infix decl --- ghc/lib/std/Prelude.lhs | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/ghc/lib/std/Prelude.lhs b/ghc/lib/std/Prelude.lhs index d81b810..1ba96bb 100644 --- a/ghc/lib/std/Prelude.lhs +++ b/ghc/lib/std/Prelude.lhs @@ -75,7 +75,28 @@ import PrelBounded import Monad import Maybe import PrelErr ( error, seqError ) -import IO +import IO ( IO, FilePath, IOError, + fail, userError, catch, + putChar, putStr, putStrLn, print, + getChar, getLine, getContents, interact, + readFile, writeFile, appendFile, readIO, readLn + ) + +{- Declared elsewhere: +PrelBase: infixr 9 . +PrelNum: infixr 8 ^, ^^, ** +PrelBase: infixl * +PrelNum: infixl 7 /, %, `quot`, `rem`, `div`, `mod` +PrelBase: infixl 6 +, - +PrelBase: infixr 5 :, ++ +PrelBase: infix 4 ==, /=, <. <=, >=, > +PrelBase: infixr 3 && +PrelBase: infixr 2 || +PrelBase: infixl >>, >>= +PrelBase: infixr $ +-} +infixr 0 `seq` + -- These can't conveniently be defined in PrelBase because they use numbers, -- or I/O, so here's a convenient place to do them. -- 1.7.10.4