mirror of
https://github.com/Lyxal/Keta.git
synced 2024-08-14 23:53:13 +00:00
Update chainify.py
This commit is contained in:
parent
02c7c5a1de
commit
58db3e7677
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ for exp in exprs:
|
||||||
if pattern == "020":
|
if pattern == "020":
|
||||||
print(fns[1] + "(" + fns[0] + ", " + fns[2] + ")")
|
print(fns[1] + "(" + fns[0] + ", " + fns[2] + ")")
|
||||||
|
|
||||||
|
elif pattern == "021":
|
||||||
|
print(fns[1] + "(" + fns[0] + ", " + fns[2] + "(R))")
|
||||||
|
|
||||||
|
elif pattern == "022":
|
||||||
|
print(fns[1] + "(" + fns[0] + ", " + fns[2] + "(L, R))")
|
||||||
|
|
||||||
elif pattern == "02":
|
elif pattern == "02":
|
||||||
print(fns[1] + "(" + fns[0] + ", R)")
|
print(fns[1] + "(" + fns[0] + ", R)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue