haskell / haskell/stylish-haskell
Option for multiline constructors in imports
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
`long_list_align: multiline` is great for neatly arranging my imports, but if my imports have long constructor lists, those lists will blow past the column limit, which seems like a bug to me (v0.14.5.0)
Can I put in a request to allow constructors to be multiline too?
Right now this I'm getting the unwieldy:
```haskell
import Asm.Types.AsmFailable
( AsmErrorDetails (AddressError, CsBalanceRedefError, LocalDefButNoParentError, RedefLabelError, RedefSymbolError, SyntaxError)
, AsmErrorLoc (CsPos, CsRange, Nowhere)
, AsmFailable
)
```
...but what I think would be most helpful is:
```haskell
import Asm.Types.AsmFailable
( AsmErrorDetails
( AddressError
, CsBalanceRedefError
, LocalDefButNoParentError
, RedefLabelError
, RedefSymbolError
, SyntaxError
)
, AsmErrorLoc (CsPos, CsRange, Nowhere)
, AsmFailable
)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.