答案 0 :(得分:2)
他们有两种方式:
FOR
和IN
FOR
和IN
示例:
CL-USER 30 > (defmacro foo (bar)
`(list))
FOO
CL-USER 31 > (compile 'foo)
;;;*** Warning in FOO: BAR is bound but not referenced
FOO
((FOO #<CONDITIONS::SIMPLE-STYLE-WARNING 402000E4DB>))
NIL
CL-USER 32 > (defmacro foo (bar)
(declare (ignore bar))
`(list))
FOO
CL-USER 33 > (compile 'foo)
FOO
NIL
NIL