stylish-haskell
stylish-haskell copied to clipboard
[Feature request] Partitionate qualified and non-qualified imports
Would be great to regroup imports depending if they are qualified or not. For example,
import A
import qualified B
could be transformed to:
import A
import qualified B
and
import A
import qualified B
import qualified C
import D
could be transformed to:
import A
import D
import qualified B
import qualified C
This, in combination with these settings:
steps:
- imports:
align: group
pad_module_names: true
would allow to align import lists without adding the qualified padding if they were in the same group. Also, they would look more organized.