[Haskell-cafe] Monoid wants a (++) equivalent

Josh Lee jleedev at gmail.com
Tue Jun 30 13:24:30 EDT 2009


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

On Tue, Jun 30, 2009 at 13:04, Edward Kmett<ekmett at gmail.com> 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 at serpentine.com>
> 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.


More information about the Haskell-Cafe mailing list