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

ajb at spamcop.net ajb at spamcop.net
Tue Jun 30 23:51:29 EDT 2009


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 understand the argument.  I even agreed with it at the time.  In 1998,
academic use of Haskell (both for research and education) was the most
important imperative.

Today, Haskell is officially cool, so the good names and operators should
not be stolen by operations that are distinguished only by being less
useful (e.g. by working on lists alone).

Cheers,
Andrew Bromage


More information about the Haskell-Cafe mailing list