[Openmcl-devel] another make-record question

Cyrus Harmon ch-openmcl at bobobeach.com
Fri Aug 20 01:59:17 PDT 2004


This is probably a lisp FAQ rather than a question specific to 
make-record, but how can I call make-record with the type specified in 
a variable, e.g.:

CL-USER> (setf moose :v<I>mage_<B>uffer)
:V<I>MAGE_<B>UFFER
CL-USER> (make-record moose)

(make-record :v<I>mage_<B>uffer) works fine, but if I try to use a 
variable, I get an error about not knowing the foreign type 'moose.

Thanks again,

Cyrus




More information about the Openmcl-devel mailing list