Pretty class as alternative for Show class
Christian.Maeder at dfki.de
Thu Feb 14 03:56:15 EST 2008
John Meacham wrote:
>> The HughesPJ output is correct:
>> *DocLike> P.text "a" <+> (P.text "b" <$> P.text "c")
>> a b
Could Daan's parser (that I only looked at) create such "correct"
> I more often use a
> modified version of Daan's parser that can handle things like html and
> ansi color codes so might not have noticed if I forgot one.
I would like to combine the advantages of HughesPJ (above) and Daan's
parser (including soft breaks).
More information about the Libraries