[project @ 1997-11-24 20:34:53 by sof]
authorsof <unknown>
Mon, 24 Nov 1997 20:34:53 +0000 (20:34 +0000)
committersof <unknown>
Mon, 24 Nov 1997 20:34:53 +0000 (20:34 +0000)
Make monadic operators (>>) and (>>=) left-assoc (as per Report.)

ghc/lib/ghc/PrelBase.lhs

index 7e780c9..87fd4d0 100644 (file)
@@ -24,7 +24,7 @@ infixr 5  ++, :
 infix  4  ==, /=, <, <=, >=, >
 infixr 3  &&
 infixr 2  ||
-infixr 1  >>, >>=
+infixl 1  >>, >>=
 infixr 0  $
 \end{code}