Text.PrettyPrint.HughesPJ inserting blank lines

Iavor Diatchki iavor.diatchki at gmail.com
Thu Jan 27 13:13:05 EST 2005


Hi,
Nothing constructive here, I just like to second the suggestion,
as I often need a vertical space document for things like:
vcat (punctuate vspace lines)
or is there already a way to do that?
-Iavor


On Wed, 26 Jan 2005 19:51:27 +0100, Christian Maeder <maeder at tzi.de> wrote:
> I've found myself using "$+$ space $+$" in order to insert a blank line
> between two docs.
> 
> There are probably other ways to do it. "(test "")" (and $$) instead of
> "space" (or $+$) also work in many cases (but not "empty"). Which way
> would be the best?
> 
> Maybe one could add a further function "$++$" to do this and a list
> version "vsep" of "$++$"?
> 
> Another idea might be something like a vertical space "vspace" so that
> several blank lines would be created by: $$ vspace $$ vspace $$ ...
> 
> Cheers Christian
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


More information about the Libraries mailing list