Proposal #3339: Add (+>) as a synonym for mappend
malcolm.wallace at me.com
Sun Nov 6 18:40:14 CET 2011
On 6 Nov 2011, at 16:37, Duncan Coutts wrote:
> On Sun, 2011-08-14 at 14:22 +0100, Johan Tibell wrote:
>> 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
> Currently Text.Pretty declares infixl 5 <>, <+>.
So what is the rationale for the new Monoidal operator <> to be declared infixr 6? Why can it not simply preserve the same fixity as already used by Pretty's <> ?
More information about the Libraries