
18 Sep
2009
18 Sep
'09
8:27 a.m.
Ok. Then this proposal should be accompanied with the proposal to
generalize Text.PrettyPrint.<>.
On 9/18/09, Jean-Philippe Bernardy
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-Hu...<>
-- JP _______________________________________________ Libraries mailing list Libraries@haskell.org http://www.haskell.org/mailman/listinfo/libraries