From 2c13fd010ad8655b2e97cf2b20d641302e8c8343 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 1 Dec 2017 00:30:43 -0500 Subject: unquote-splicing just plain didn't work. --- actinide/expander.py | 4 ++-- 1 file 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'], -- cgit v1.2.3