Name: Anonymous 2013-02-09 13:25
or am i just doing something wrong?
test2 compiles just fine
upon trying to compile test i get:
How the fuck does it see C as a function when it's clearly in the argument position for test2?
(defmacro test (&body c)
`(progn ,(test2 c)))
(defmacro test2 (&body c)
(format t "~A~%" c)
`(progn (car ,c) ,@c))test2 compiles just fine
upon trying to compile test i get:
; in: DEFMACRO TEST
; COMMON-LISP::C
;
; caught STYLE-WARNING:
; undefined function: C
;
; compilation unit finished
; Undefined function:
; C
; caught 1 STYLE-WARNING conditionHow the fuck does it see C as a function when it's clearly in the argument position for test2?