haskell / haskell/stylish-haskell
`space_surround` for record updates
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.