[project @ 2000-04-03 10:10:22 by panne]
authorpanne <unknown>
Mon, 3 Apr 2000 10:10:22 +0000 (10:10 +0000)
committerpanne <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

index 3b9f77d..8a46737 100644 (file)
@@ -23,6 +23,8 @@ module PrelAddr (
 
 import PrelGHC
 import PrelBase
+
+infixl 5 `plusAddr`
 \end{code}
 
 \begin{code}