[Haskell-cafe] Generalizing (++) for monoids instead of using (<>)
aditya bhargava
bluemangroupie at gmail.com
Sun Apr 1 22:58:10 CEST 2012
After asking this question:
http://stackoverflow.com/questions/9963050/standard-way-of-joining-two-data-texts-without-mappend
I found out that the new infix operator for `mappend` is (<>). I'm
wondering why ghc 7.4 didn't generalize (++) to work on monoids instead. To
me, (++) is much more clear. (<>) means "not equal to" for me. Can anyone
shed light on this decision?
Adit
--
adit.io
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120401/a8693a4d/attachment.htm>
More information about the Haskell-Cafe
mailing list