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

Krasimir Angelov kr.angelov at gmail.com
Fri Sep 18 04:27:35 EDT 2009


Ok. Then this proposal should be accompanied with the proposal to
generalize Text.PrettyPrint.<>.


On 9/18/09, Jean-Philippe Bernardy <jeanphilippe.bernardy at gmail.com> wrote:
> > Is it possible that the pretty-printing <> is in fact just another instance
> > of the Monoidal mappend?
>
> Yes.
>
> (<>) :: Doc -> Doc -> Doc       Source
> Beside. <> is associative, with identity empty.
>
> http://haskell.org/ghc/docs/latest/html/libraries/pretty/Text-PrettyPrint-HughesPJ.html#v%3A<>
>
> -- JP
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list