Skip to content

Commit

Permalink
Added "λ" pretty printing to python (#7320)
Browse files Browse the repository at this point in the history
  • Loading branch information
philzook58 authored Jul 31, 2024
1 parent 0c16d34 commit e7382d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/api/python/z3/z3printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1412,8 +1412,10 @@ def pp_quantifier(self, a, d, xs):
ys_pp = group(seq(ys))
if a.is_forall():
header = "∀"
else:
elif a.is_exists():
header = "∃"
else:
header = "λ"
return group(compose(to_format(header, 1),
indent(1, compose(ys_pp, to_format(" :"), line_break(), body_pp))))

Expand Down

0 comments on commit e7382d6

Please sign in to comment.