Skip to content

Commit

Permalink
softline' -> softline
Browse files Browse the repository at this point in the history
  • Loading branch information
nitinprakash96 committed Jun 15, 2024
1 parent ba09e0c commit 3e1cdbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swarm-lang/Swarm/Language/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ instance (UnchainableFun t, PrettyPrec t, SubstRec t) => PrettyPrec (TypeF t) wh
let (iniF, lastF) = unsnocNE $ ty1 <| unchainFun ty2
funs = (prettyPrec 2 <$> iniF) <> [prettyPrec 1 lastF]
inLine l r = l <+> "->" <+> r
multiLine l r = l <+> "->" <+> softline' <> r
multiLine l r = l <+> "->" <+> softline <> r
in pparens (p > 1) . align $
flatAlt (concatWith multiLine funs) (concatWith inLine funs)
TyRecF x ty ->
Expand Down

0 comments on commit 3e1cdbc

Please sign in to comment.