Skip to content

Commit

Permalink
change review
Browse files Browse the repository at this point in the history
  • Loading branch information
Halbaroth committed Nov 12, 2024
1 parent 46240f5 commit 2f89b24
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/lib/structures/expr.ml
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,6 @@ module SmtPrinter = struct
| `Forall -> Fmt.pf ppf "forall"
| `Exists -> Fmt.pf ppf "exists"

(* This printer follows the convention used to print
type variables in the module [Ty]. *)
let pp_tvar ppf v = Fmt.pf ppf "A%a" DE.Ty.Var.print v

let rec pp_main bind ppf { user_trs; main; binders; _ } =
if not @@ Var.Map.is_empty binders then
Fmt.pf ppf "@[<2>(%a (%a)@, %a@, %a)@]"
Expand All @@ -350,7 +346,7 @@ module SmtPrinter = struct
and pp_quantified bind ppf q =
if q.toplevel && not @@ Ty.TvSet.is_empty q.main.vty then
Fmt.pf ppf "@[<2>(par (%a)@, %a)@]"
Fmt.(box @@ iter ~sep:sp Ty.TvSet.iter pp_tvar) q.main.vty
Fmt.(box @@ iter ~sep:sp Ty.TvSet.iter DE.Ty.Var.print) q.main.vty
(pp_main bind) q
else
pp_main bind ppf q
Expand Down

0 comments on commit 2f89b24

Please sign in to comment.