Hi! I'm using Dhall, and dhall-format is built using prettyprinter. Using the align function leads to trailing whitespace when empty lines are aligned, as in the example at dhall-lang/dhall-haskell#183.
It's picky, to be sure, but (at least) my brain associates "pretty" with "tidy", so I wonder if it would be straightforward to avoid this case?
Hi! I'm using Dhall, and
dhall-formatis built usingprettyprinter. Using thealignfunction leads to trailing whitespace when empty lines are aligned, as in the example at dhall-lang/dhall-haskell#183.It's picky, to be sure, but (at least) my brain associates "pretty" with "tidy", so I wonder if it would be straightforward to avoid this case?