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

Jochem Berndsen jochem at functor.nl
Wed Jul 1 03:34:44 EDT 2009

ajb at spamcop.net wrote:
> G'day all.
> Quoting John Meacham <john at repetae.net>:
>> (+>) seems to imply to me that the operator is non-associative. Something
>> like (<>) or (<+>) would be better.
> I tend to agree.  Moreover, and I realise this may be a losing battle,
> I want (++) to be the generic operator.

I totally agree. (+>) is too asymmetric for my taste, like (>>=) and
(*>) it suggests asymmetry between the arguments. (++) is symmetric and
suggests an associative operator to me.

Jochem Berndsen | jochem at functor.nl

More information about the Haskell-Cafe mailing list