Take out the old recursion thingy

This commit is contained in:
Emi Simpson 2023-03-08 11:19:46 -05:00
parent a49b7b5baf
commit 0383bc5b82
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

2
ir.py
View file

@ -196,7 +196,7 @@ class Function:
case []:
return None
case [(bindings, body), *rest]:
return Some(subst_all(bindings, body.subst(self, 'recur')))
return Some(subst_all(bindings, body))
raise Exception('Unreachable')
def __repr__(self) -> str: