Text.PrettyPrint.HughesPJ inserting blank lines
Simon Peyton-Jones
simonpj at microsoft.com
Fri Jan 28 03:30:21 EST 2005
I use (text ""), but I grant it's a bit of a hack.
Simon
| -----Original Message-----
| From: libraries-bounces at haskell.org
[mailto:libraries-bounces at haskell.org] On Behalf Of Iavor
| Diatchki
| Sent: 27 January 2005 18:13
| To: Christian Maeder
| Cc: libraries at haskell.org
| Subject: Re: Text.PrettyPrint.HughesPJ inserting blank lines
|
| 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
| >
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries
More information about the Libraries
mailing list