Skip to content
Snippets Groups Projects
Commit 59cc2b33 authored by sof's avatar sof
Browse files

[project @ 1999-09-19 19:10:54 by sof]

nullAddr: avoid the use of a lit-lit
parent 68b932d7
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ instance Show Addr where
showsPrec p (A# a) = showsPrec p (I# (addr2Int# a))
nullAddr :: Addr
nullAddr = ``(W_)NULL''
nullAddr = A# (int2Addr# 0#)
plusAddr :: Addr -> Int -> Addr
plusAddr (A# addr) (I# off) = A# (int2Addr# (addr2Int# addr +# off))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment