diff options
author | simonm <unknown> | 1999-02-17 15:57:39 +0000 |
---|---|---|
committer | simonm <unknown> | 1999-02-17 15:57:39 +0000 |
commit | 449deb80dde91031b86b9cb4fb183696e0139bae (patch) | |
tree | 540d76690c299f142f6a10b69c880d9b58fa8b34 /ghc/lib/std/PrelGHC.hi-boot | |
parent | 58f9684c1f0f0b2b7dc06afefb9968b4e9543ae7 (diff) | |
download | haskell-449deb80dde91031b86b9cb4fb183696e0139bae.tar.gz |
[project @ 1999-02-17 15:57:20 by simonm]
Fast Integers. The rep. of Integers is now
data Integer = S# Int#
| J# Int# ByteArray#
- several new primops added for overflow-detecting arithmetic
- negateInteger# removed; it can be done directly
- integer_0, integer_1 etc. removed.
- the compiler now uses S# where it previously used int2Integer.
- the compiler generates small integers for -2^32 .. 2^32-1, instead
of -2^29 .. -2^29-1.
- PrelST.State datatype moved to LazyST (its only use).
- some library code (in Time.lhs) still needs cleaning up, it depends
on the Integer rep.
Diffstat (limited to 'ghc/lib/std/PrelGHC.hi-boot')
-rw-r--r-- | ghc/lib/std/PrelGHC.hi-boot | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ghc/lib/std/PrelGHC.hi-boot b/ghc/lib/std/PrelGHC.hi-boot index 9d9fda1f5d..a4c5d30acb 100644 --- a/ghc/lib/std/PrelGHC.hi-boot +++ b/ghc/lib/std/PrelGHC.hi-boot @@ -78,6 +78,9 @@ __export PrelGHC iShiftLzh iShiftRAzh iShiftRLzh + addIntCzh + subIntCzh + mulIntCzh Wordzh gtWordzh @@ -176,7 +179,7 @@ __export PrelGHC encodeDoublezh cmpIntegerzh - negateIntegerzh + cmpIntegerIntzh plusIntegerzh minusIntegerzh timesIntegerzh |