stylish-haskell
stylish-haskell copied to clipboard
Option to align equals signs
I would find it useful to be able to align equals signs by padding them with spaces.
For example
filter p (x:xs)
| p x = x : filter p xs
| otherwise = filter p xs
would become
filter p (x:xs)
| p x = x : filter p xs
| otherwise = filter p xs
Is there any plan to add functionality of align "=" like this?
It wouldn't be very hard to implement, but it sort of depends on a check that the new code won't exceed the max column length.