[Haskell-cafe] Generalizing (++) for monoids instead of using (<>)

Erik Hesselink hesselink at gmail.com
Mon Apr 2 09:25:27 CEST 2012


See the relevant trac ticket [1] and the linked mailing list thread.

Erik

[1] http://hackage.haskell.org/trac/ghc/ticket/3339

On Sun, Apr 1, 2012 at 22:58, aditya bhargava <bluemangroupie at gmail.com> wrote:
> 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
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



More information about the Haskell-Cafe mailing list