Minor refactoring in ‘p_typeSig’

This commit is contained in:
Mark Karpov 2020-05-27 17:06:29 +02:00
parent 78e2d3df4c
commit 06f2cf4eff
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -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 ->