Skip to content
This repository has been archived by the owner on Jun 9, 2021. It is now read-only.

Commit

Permalink
fixed a bug in the pretty-printer that was putting unnecessary parent…
Browse files Browse the repository at this point in the history
…heses around the arguments of applications
  • Loading branch information
Eddy Westbrook committed May 25, 2018
1 parent 3eb5c4d commit a5eb258
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Verifier/SAW/Term/Pretty.hs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ ppFlatTermF prec tf =
ppTermF :: Prec -> TermF Term -> PPM Doc
ppTermF prec (FTermF ftf) = ppFlatTermF prec ftf
ppTermF prec (App e1 e2) =
ppAppList prec <$> ppTerm' PrecArg e1 <*> mapM (ppTerm' PrecArg) [e2]
ppAppList prec <$> ppTerm' PrecApp e1 <*> mapM (ppTerm' PrecArg) [e2]
ppTermF prec (Lambda x tp body) =
ppParensPrec prec PrecLambda <$>
(ppLambda <$> ppTerm' PrecApp tp <*> ppTermInBinder PrecLambda x body)
Expand Down

0 comments on commit a5eb258

Please sign in to comment.