Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
05bfa2a6
Commit
05bfa2a6
authored
Sep 30, 1998
by
sof
Browse files
[project @ 1998-09-30 09:00:41 by sof]
Included fixity info declared elsewhere; added 'seq' infix decl
parent
953bb889
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/Prelude.lhs
View file @
05bfa2a6
...
...
@@ -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.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment