projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4b0fab
)
[project @ 2000-04-03 10:10:22 by panne]
author
panne
<unknown>
Mon, 3 Apr 2000 10:10:22 +0000
(10:10 +0000)
committer
panne
<unknown>
Mon, 3 Apr 2000 10:10:22 +0000
(10:10 +0000)
Declare `plusAddr` as infixl 5, allowing sensible expressions like
addr `plusAddr` 47 * 11 or addr `plusAddr` 08 + 15
ghc/lib/std/PrelAddr.lhs
patch
|
blob
|
history
diff --git
a/ghc/lib/std/PrelAddr.lhs
b/ghc/lib/std/PrelAddr.lhs
index
3b9f77d
..
8a46737
100644
(file)
--- a/
ghc/lib/std/PrelAddr.lhs
+++ b/
ghc/lib/std/PrelAddr.lhs
@@
-23,6
+23,8
@@
module PrelAddr (
import PrelGHC
import PrelBase
+
+infixl 5 `plusAddr`
\end{code}
\begin{code}