projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1999-01-14 18:12:47 by sof]
[ghc-hetmet.git]
/
ghc
/
lib
/
std
/
PrelAddr.lhs
diff --git
a/ghc/lib/std/PrelAddr.lhs
b/ghc/lib/std/PrelAddr.lhs
index
dab7f89
..
d91ecf9
100644
(file)
--- a/
ghc/lib/std/PrelAddr.lhs
+++ b/
ghc/lib/std/PrelAddr.lhs
@@
-30,7
+30,8
@@
data Word = W# Word# deriving (Eq, Ord)
instance Show Addr where
showsPrec p (A# a) = showsPrec p (I# (addr2Int# a))
-nullAddr = ``NULL'' :: Addr
+nullAddr :: Addr
+nullAddr = ``NULL''
plusAddr :: Addr -> Int -> Addr
plusAddr (A# addr) (I# off) = A# (int2Addr# (addr2Int# addr +# off))