stylish-haskell
stylish-haskell copied to clipboard
Format whitespace between top level declarations
Would there be interest in the option automatically add/manage newlines between top level declarations?
If so, what would the params be? Probably the amount of newlines in between.
There might be some rules for module
and import
declarations as well.
Example:
foo :: Int
foo =
1
bar :: Int
bar =
1
baz :: Int
baz =
1
Would format like
foo :: Int
foo =
1
bar :: Int
bar =
1
baz :: Int
baz =
1