mirror of
https://github.com/ilyakooo0/ormolu.git
synced 2024-11-09 07:32:02 +03:00
Minor refactoring in ‘p_typeSig’
This commit is contained in:
parent
78e2d3df4c
commit
06f2cf4eff
@ -48,12 +48,10 @@ p_typeSig indentTail (n : ns) hswc = do
|
||||
p_rdrName n
|
||||
if null ns
|
||||
then p_typeAscription hswc
|
||||
else do
|
||||
comma
|
||||
breakpoint
|
||||
bool id inci indentTail $ do
|
||||
sep commaDel p_rdrName ns
|
||||
p_typeAscription hswc
|
||||
else bool id inci indentTail $ do
|
||||
commaDel
|
||||
sep commaDel p_rdrName ns
|
||||
p_typeAscription hswc
|
||||
|
||||
p_typeAscription ::
|
||||
LHsSigWcType GhcPs ->
|
||||
|
Loading…
Reference in New Issue
Block a user