stylish-haskell
stylish-haskell copied to clipboard
`space_surround` for record updates
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