stylish-haskell
stylish-haskell copied to clipboard
allow to hang closing paren/brace/bracket when possible
Type
{ field
, field2 :: Int }
-- but
Type
{ field
, field2 :: Int
} deriving Generics
[ a
, b
, c ]
-- but
[ a
, b
, c
] ++ [d]
Or even without newline before closing paren at all.