Proposal #3339: Add (+>) as a synonym for mappend

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Sat Sep 19 19:19:33 EDT 2009


On Fri, 2009-09-18 at 20:33 -0400, Edward Kmett wrote:
> 
> I don't know, and I don't know that anyone can know what other
> operators people have used in code that uses HughesPJ or any of the
> other pretty printer combinator libraries. Most compelling, is that
> there is an implicit 'infixr 5 :' in the Prelude and the pretty
> printer combinator libraries use [Doc] all over the place. So moving
> one level down would break a lot of pretty printer client code.

Yep, fair enough. infixr 6 <> it is then :-)

Sadly it looks like we're too late to change base before ghc-6.12.1, so
this will probably only make it into a released base version in a year's
time. :-(

Duncan




More information about the Libraries mailing list