Arrow notation #24
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#24
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?
Brittany currently fails for the entire file whenever it encounters arrow notation.
I have looked into this. There is a good amount of special syntax involved (
HsCmd), and even if most is very close toHsExprstuff it would require some time to understand the AST and write the layouting code. This has low priority for me.There is a workaround though - don't reformat those top-level functions containing arrow notation, and copy the untransformed input. Such a feature could be useful for other yet unsupported constructs as well. I think that is doable with relatively low effort.