We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There is a proposal for record dot syntax and the preprocessor.
Although this is probably still early, support for the new syntax would be awesome. One thing I notices is the following:
brittany will take a field access and split it apart because it's parsed as function composition.
x = a.b
x = a . b
For this example, it might be enough to not add whitespaces in this case.
(regarding complete support, there might be more issues)
The text was updated successfully, but these errors were encountered:
This will almost certainly require support from ghc-exactprint before Brittany can do anything about it.
Sorry, something went wrong.
You could check how Ormolu does this. Ormolu only depends on ghc-lib-parser.
ghc-lib-parser
Record for syntax seems to land with GHC 9.2
ghc-exactprint with support for GHC 9.2 RC1
ghc-exactprint
https://twitter.com/alan_zimm/status/1429911651340406795
No branches or pull requests
There is a proposal for record dot syntax and the preprocessor.
Although this is probably still early, support for the new syntax would be awesome. One thing I notices is the following:
brittany will take a field access and split it apart because it's parsed as function composition.
For this example, it might be enough to not add whitespaces in this case.
(regarding complete support, there might be more issues)
The text was updated successfully, but these errors were encountered: