summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2017-12-01 00:30:43 -0500
committerOwen Jacobson <owen@grimoire.ca>2017-12-01 00:30:43 -0500
commit2c13fd010ad8655b2e97cf2b20d641302e8c8343 (patch)
treed3933d372af2b37e88491f0f7fe18730638d006c
parent631893dd9d0db56e837e570c51a79a520262b9c0 (diff)
unquote-splicing just plain didn't work.
-rw-r--r--actinide/expander.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/actinide/expander.py b/actinide/expander.py
index 2a05225..1c906ed 100644
--- a/actinide/expander.py
+++ b/actinide/expander.py
@@ -108,11 +108,11 @@ def expand_quasiquoted(form, symbols):
if not nil_p(first) and cons_p(first):
candidate, body = uncons(first)
if candidate == symbols['unquote-splicing']:
- next, rest = uncons(body)
+ next, unquote_next = uncons(body)
return list(
symbols['append'],
next,
- expand_quasiquoted(body, symbols),
+ expand_quasiquoted(rest, symbols),
)
return list(
symbols['cons'],