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
1 changed files with 1 additions and 1 deletions

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: