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

Henning Thielemann lemming at henning-thielemann.de
Sun Jul 5 16:30:29 EDT 2009

Robert Greayer schrieb:
> I'm sure there's some important historical reason... but why isn't '&'
> used in something more prominent than the fgl package?  I understand
> why it's not used for bitwise AND in Data.Bits (I assume because the
> corresponding bitwise '|' operator isn't available), but all the other
> single-character operators** (in the ASCII range) are used in some
> core library (if not the Prelude itself).  But not '&'.  Why?  It
> makes sense (to me) as a Monoid 'append'.

(?) is also undefined in Prelude.

More information about the Haskell-Cafe mailing list