projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
5296d8b
)
[project @ 2005-02-02 15:21:02 by simonmar]
author
simonmar
<unknown>
Wed, 2 Feb 2005 15:21:02 +0000
(15:21 +0000)
committer
simonmar
<unknown>
Wed, 2 Feb 2005 15:21:02 +0000
(15:21 +0000)
doc fixes
Data/Int.hs
patch
|
blob
|
history
diff --git
a/Data/Int.hs
b/Data/Int.hs
index
1033270
..
d189a3e
100644
(file)
--- a/
Data/Int.hs
+++ b/
Data/Int.hs
@@
-45,15
+45,15
@@
import NHC.SizedTypes (Int8, Int16, Int32, Int64) -- instances of Bits
* All arithmetic is performed modulo 2^n, where @n@ is the number of
bits in the type.
* All arithmetic is performed modulo 2^n, where @n@ is the number of
bits in the type.
-* For coercing between any two integer types, use 'fromIntegral',
+* For coercing between any two integer types, use 'Prelude.fromIntegral',
which is specialized for all the common cases so should be fast
enough. Coercing word types (see "Data.Word") to and from integer
types preserves representation, not sign.
which is specialized for all the common cases so should be fast
enough. Coercing word types (see "Data.Word") to and from integer
types preserves representation, not sign.
-* The rules that hold for 'Enum' instances over a
+* The rules that hold for 'Prelude.Enum' instances over a
bounded type such as 'Int' (see the section of the
Haskell report dealing with arithmetic sequences) also hold for the
bounded type such as 'Int' (see the section of the
Haskell report dealing with arithmetic sequences) also hold for the
- 'Enum' instances over the various
+ 'Prelude.Enum' instances over the various
'Int' types defined here.
* Right and left shifts by amounts greater than or equal to the width
'Int' types defined here.
* Right and left shifts by amounts greater than or equal to the width