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
b541704054
commit
04e05f739a
1 changed files with 9 additions and 0 deletions
|
@ -86,4 +86,13 @@ for exp in exprs:
|
||||||
elif pattern == "202":
|
elif pattern == "202":
|
||||||
print(fns[2] + "(" + fns[0] + "(L, " + fns[1] + "), R*)")
|
print(fns[2] + "(" + fns[0] + "(L, " + fns[1] + "), R*)")
|
||||||
|
|
||||||
|
elif pattern == "210":
|
||||||
|
print(fns[0] + "(L, " + fns[1] + "(" + fns[2] + "))")
|
||||||
|
|
||||||
|
elif pattern == "211":
|
||||||
|
print(fns[0] + "(L, " + fns[1] + "(" + fns[2] + "(R*)))")
|
||||||
|
|
||||||
|
elif pattern == "212":
|
||||||
|
print(fns[2] + "(" + fns[0] + "(L, " + fns[1] + "(R*)), R&)")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue