« Return to Thread: Monoid wants a (++) equivalent

Re: Monoid wants a (++) equivalent

by Josh Lee :: Rate this Message:

Reply to Author | View in Thread

Isn't "++" itself the perfect Monoid operator? Lambdabot seems to think so.

On Tue, Jun 30, 2009 at 13:04, Edward Kmett<ekmett@...> wrote:

> I love the idea, but its tricky to come up with one that is good that won't
> break a lot of user code that imports Data.Monoid unqualified.
> -Edward Kmett
>
> On Tue, Jun 30, 2009 at 12:45 PM, Bryan O'Sullivan <bos@...>
> wrote:
>>
>> I've thought for a while that it would be very nice indeed if the Monoid
>> class had a more concise operator for infix appending than "a `mappend` b".
>> I wonder if other people are of a similar opinion, and if so, whether this
>> is worth submitting a libraries@ proposal over.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@...
http://www.haskell.org/mailman/listinfo/haskell-cafe

 « Return to Thread: Monoid wants a (++) equivalent