Closed arvyy closed 1 year ago
Given:
(defmacro test (a) `(list #(1 ,a))) (test 2)
I'd expect it to result (#(1 2)) but instead it gives (#(1 (UNQUOTE A)))
(#(1 2))
(#(1 (UNQUOTE A)))
I fixed. Thank you.
(defmacro foo (a) `(list #(1 ,a))) ;(foo 2) ;return (#(1 2)) (defmacro bar (a) `(list #2a((1 ,a)(2 , a)))) ;(bar 3) ;(#2a((1 3) (2 3))) > (foo 2) (#(1 2)) > (bar 3) (#2a((1 3) (2 3))) >
Given:
I'd expect it to result
(#(1 2))
but instead it gives(#(1 (UNQUOTE A)))