[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
question regarding macros
- To: clisp-list@ma2s2.mathematik.uni-karlsruhe.de
- Subject: question regarding macros
- From: dxs@evolving.com (Dan Stanger)
- Date: Tue, 17 Jan 1995 11:56:02 -0700
i have defined a macro as follows.
(defmacro schema (n d p)
(let ((cd (compile-definition-part d)) (cp (compile-predicate-part p)))
`(defclass ,n () ,cd)
(break)
...
when the break occurs n has the value x. if i then try to execute
(make-instance 'x) i get the error message x does not name a class.
could somebody explain this problem to me.
thanks,
dan stanger