diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2017-11-13 20:44:19 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2017-11-13 20:44:19 -0500 |
| commit | e4fe023a5748eff607739c8b0a1e749d2bc587a7 (patch) | |
| tree | 3c7b123792110ada9a9e61eab47578ac8ea4e1c1 | |
| parent | 2ce0e6ce36c8059ef92a373996cc5788258da477 (diff) | |
fixup! Expand the first argument of a form, not just the tail
| -rw-r--r-- | actinide/expander.py | 2 |
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 |
