[Haskell-cafe] Request for a Simple Pretty Printing library

Neil Mitchell ndmitchell at gmail.com
Wed Dec 13 17:45:57 EST 2006


Hi

> Something like:
>
> wrap prepend doc append =
>     zeroText prepend <> doc <> zeroText append
> zeroText s = textBeside_ (Str s) 0 Empty

Thanks, that works great!

Is there likely to be any support for adding this to the standard
library? I'd rather not have to fork a version of HughesPJ to get this
feature.

Thanks

Neil


More information about the Haskell-Cafe mailing list