haskell / stylish-haskell

Haskell code prettifier
Other
987 stars 151 forks source link

Break overly-long lines in type constructor list in import list #35

Open hseg opened 11 years ago

hseg commented 11 years ago

Example:

import Language.Haskell.Syntax (HsExportSpec(HsEVar, HsEAbs, HsEThingAll, HsEThingWith, HsEModuleContents)

should be converted to

import Language.Haskell.Syntax (HsExportSpec(HsEVar, HsEAbs, HsEThingAll,
                                             HsEThingWith, HsEModuleContents)

(Note that I'm starting a new line after the last constructor which is still within 80 chars from the end of the line.)

ababkin commented 7 years ago

Just wanted to bump this since It's 4 years old and is still a very relevant wart. Can this be kindly prioritized? Thanks

dfithian commented 7 years ago

👍