summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2017-11-13 20:44:19 -0500
committerOwen Jacobson <owen@grimoire.ca>2017-11-13 20:44:19 -0500
commite4fe023a5748eff607739c8b0a1e749d2bc587a7 (patch)
tree3c7b123792110ada9a9e61eab47578ac8ea4e1c1
parent2ce0e6ce36c8059ef92a373996cc5788258da477 (diff)
fixup! Expand the first argument of a form, not just the tail
-rw-r--r--actinide/expander.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/actinide/expander.py b/actinide/expander.py
index 54428d7..b8bc56d 100644
--- a/actinide/expander.py
+++ b/actinide/expander.py
@@ -30,5 +30,5 @@ def expand(form, symbols):
if len(body) != 1:
body = [list(symbols['begin'], *body)]
args = [formals, *body]
- form = list(expand(symb), *[expand(subform, symbols) for subform in args])
+ form = list(expand(symb, symbols), *[expand(subform, symbols) for subform in args])
return form