mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 04:03:39 +00:00
Added "λ" pretty printing to python (#7320)
This commit is contained in:
parent
0c16d34eb0
commit
e7382d6ff9
|
@ -1412,8 +1412,10 @@ class HTMLFormatter(Formatter):
|
||||||
ys_pp = group(seq(ys))
|
ys_pp = group(seq(ys))
|
||||||
if a.is_forall():
|
if a.is_forall():
|
||||||
header = "∀"
|
header = "∀"
|
||||||
else:
|
elif a.is_exists():
|
||||||
header = "∃"
|
header = "∃"
|
||||||
|
else:
|
||||||
|
header = "λ"
|
||||||
return group(compose(to_format(header, 1),
|
return group(compose(to_format(header, 1),
|
||||||
indent(1, compose(ys_pp, to_format(" :"), line_break(), body_pp))))
|
indent(1, compose(ys_pp, to_format(" :"), line_break(), body_pp))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue