[commit: pretty] master: Restore missing fixity (f46af1f)
David Terei
davidterei at gmail.com
Tue Nov 8 17:44:51 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/pretty
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/f46af1f6fd2e26da9e318319f24a45e7507cd451
>---------------------------------------------------------------
commit f46af1f6fd2e26da9e318319f24a45e7507cd451
Author: David Terei <davidterei at gmail.com>
Date: Sun Nov 6 14:57:28 2011 -0800
Restore missing fixity
>---------------------------------------------------------------
Text/PrettyPrint/HughesPJ.hs | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/Text/PrettyPrint/HughesPJ.hs b/Text/PrettyPrint/HughesPJ.hs
index 69c474a..974eee7 100644
--- a/Text/PrettyPrint/HughesPJ.hs
+++ b/Text/PrettyPrint/HughesPJ.hs
@@ -153,6 +153,12 @@ But it doesn't work, for if x=empty, we would have
= text s <> nest (-length s) y
-}
+-- ---------------------------------------------------------------------------
+-- Operator fixity
+
+infixl 6 <>
+infixl 6 <+>
+infixl 5 $$, $+$
-- ---------------------------------------------------------------------------
-- The Doc data type
More information about the Cvs-libraries
mailing list