Skip to content
New issue

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

space_surround for record updates #453

Open
peterbecich opened this issue Mar 19, 2023 · 0 comments
Open

space_surround for record updates #453

peterbecich opened this issue Mar 19, 2023 · 0 comments

Comments

@peterbecich
Copy link
Member

peterbecich commented Mar 19, 2023

The docs for space_surround:

Space surround option affects formatting of import lists on a single line....

Can this feature be extended to also cover record updates, such as:

-- | Generate generics using purescript-generics-rep
useGenRep :: Switch
useGenRep = Endo $ \settings -> settings{genericsGenRep = True}

IMO it would be nice to modify settings{genericsGenRep = True} to settings { genericsGenRep = True }

or settings {genericsGenRep = True}

stylish-haskell 0.14.4.0

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant