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

Johan Tibell johan.tibell at gmail.com
Sun Aug 14 15:22:50 CEST 2011


On Sun, Aug 14, 2011 at 1:52 PM, Paterson, Ross <R.Paterson at city.ac.uk> wrote:
> Johan Tibell writes:
>> This is a call for consensus. Do we agree to add
>>
>>     infixr 6 <>
>>
>>     (<>) :: Monoid m => m -> m -> m
>>     (<>) = mappend
>
> As I recall, the only remaining issue is that this operator is declared as infixl 6 in the pretty package.  Someone needs to investigate the impact of changing its fixity there.

Already done here: http://hackage.haskell.org/trac/ghc/ticket/3339#comment:22

Seems to be a slight improvement actually.



More information about the Libraries mailing list