[project @ 2001-02-22 13:17:57 by simonpj]
authorsimonpj <unknown>
Thu, 22 Feb 2001 13:17:59 +0000 (13:17 +0000)
committersimonpj <unknown>
Thu, 22 Feb 2001 13:17:59 +0000 (13:17 +0000)
commitbe2c67eb19565e8d0d9ca5a53f526ce49acf1d92
tree5690d06eb3ebce2d7cec39fea9e9881a84a37aa0
parent72aac89b9ca98591b7f936e80021749b5d8dff76
[project @ 2001-02-22 13:17:57 by simonpj]
fromInt

Remove fromInt from class Num, though it is retained
as an overloaded operation (with unchanged type) in PrelNum.

There are quite a few consequential changes in the Prelude.
I hope I got them all correct!

Also fix a bug that meant Integer (and its instances)
wasn't getting slurped in by the renamer, even though it
was needed for defaulting.
24 files changed:
ghc/compiler/prelude/PrelNames.lhs
ghc/compiler/rename/RnEnv.lhs
ghc/compiler/rename/RnExpr.lhs
ghc/compiler/rename/RnIfaces.lhs
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/TcEnv.lhs
ghc/compiler/typecheck/TcModule.lhs
ghc/lib/std/CPUTime.lhs
ghc/lib/std/Numeric.lhs
ghc/lib/std/PrelByteArr.lhs
ghc/lib/std/PrelCTypes.lhs
ghc/lib/std/PrelCTypesISO.lhs
ghc/lib/std/PrelFloat.lhs
ghc/lib/std/PrelHandle.lhs
ghc/lib/std/PrelIOBase.lhs
ghc/lib/std/PrelInt.lhs
ghc/lib/std/PrelNum.lhs
ghc/lib/std/PrelRead.lhs
ghc/lib/std/PrelReal.lhs
ghc/lib/std/PrelST.lhs
ghc/lib/std/PrelWord.lhs
ghc/lib/std/Prelude.lhs
ghc/lib/std/Random.lhs
ghc/lib/std/cbits/CTypes.h