Support for ImportQualifiedPost
GHC extension #369
Labels
No Label
blocked: dependency
blocked: info-needed
bug
duplicate
enhancement
fixed in HEAD
help wanted
hs:arrows
hs:brackets
hs:classes
hs:comments
hs:do-notation
hs:guards
hs:lists
hs:operators
hs:patterns
hs:records
hs:types
invalid
language extension support
layouting
needs confirmation
priority: high
priority: low
question
revisit before next release
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: hexagoxel/brittany#369
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
(This is a feature request)
GHC 8.10.1 introduced a new extension called ImportQualifiedPost.
Basically what it allows is the following syntax:
Since the extension is included in the upcoming Haskell standard after
Haskell2010
, namely GHC2021, I think it would be nice forbrittany
to have an option to use the new syntax. Any thoughts?I think adding a config named like
_lconfig_importQualifiedPost :: f (Last Bool)
below could work...0aa04af4eb/source/library/Language/Haskell/Brittany/Internal/Config/Types.hs (L41-L56)
I'm feeling like this work needs few changes in the codebase and I can work on it. I'll try 😃