Skip to content

Commit e7382d6

Browse files
authored
Added "λ" pretty printing to python (#7320)
1 parent 0c16d34 commit e7382d6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/api/python/z3/z3printer.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -1412,8 +1412,10 @@ def pp_quantifier(self, a, d, xs):
14121412
ys_pp = group(seq(ys))
14131413
if a.is_forall():
14141414
header = "∀"
1415-
else:
1415+
elif a.is_exists():
14161416
header = "∃"
1417+
else:
1418+
header = "λ"
14171419
return group(compose(to_format(header, 1),
14181420
indent(1, compose(ys_pp, to_format(" :"), line_break(), body_pp))))
14191421

0 commit comments

Comments
 (0)