Search found 2 matches

by murphey607
Sat Jan 21, 2012 5:28 am
Forum: Common Lisp
Topic: avoiding eval in a macro
Replies: 3
Views: 5505

Re: avoiding eval in a macro

Hi, I was able to get behind my problem by changing the line (let ((body (intern "BODY"))) to (let ((body (intern "FOO"))) this made it possible to get different error-messages for the body variable depending on the backquote level thanks for your help greetings murphy
by murphey607
Fri Jan 06, 2012 1:09 pm
Forum: Common Lisp
Topic: avoiding eval in a macro
Replies: 3
Views: 5505

avoiding eval in a macro

Hi there, I'm not very deep into CL yet and struggling with this problem: The following macro won't compile because ,@body is not a list (sbcl) However if try a (listp ,body) it will return true. Can you please help me to understand this? (the code is reduced beyond usefulness to show the problem) T...