Proposal #3339: Add (+>) as a synonym for mappend

Daniel Díaz Casanueva dhelta.diaz at gmail.com
Sun Aug 14 14:07:07 CEST 2011


Hi,

On Sun, Aug 14, 2011 at 1:32 PM, Johan Tibell <johan.tibell at gmail.com>wrote:

> On Fri, Sep 25, 2009 at 12:16 AM, Henning Thielemann
> <lemming at henning-thielemann.de> wrote:
> >
> > On Thu, 17 Sep 2009, Ross Paterson wrote:
> >
> >> This proposal seems to have got stuck.  Everyone wants an infix
> operator,
> >> but we can't agree what it should be.
>
> This proposal seems to have got stuck *again*.
>
> This is a call for consensus. Do we agree to add
>
>    infixr 6 <>
>
>    (<>) :: Monoid m => m -> m -> m
>    (<>) = mappend
>
> If so I have a patch for base and GHC ready.
>
> -- Johan
>
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>

I already use this synonym a lot, but I currently have to define it each
time. So, I agree in accept this proposal.

--
Daniel Díaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110814/01e047bb/attachment.htm>


More information about the Libraries mailing list