|
From: Christophe R. <cs...@ca...> - 2003-02-21 19:50:07
|
Sam Steingold <sd...@gn...> writes: > > * In message <9F8...@G8...> > > * On the subject of "[clisp-list] CLOS: class-wide slots defined at compile-time?" > > * Sent on Fri, 21 Feb 2003 10:27:34 +0100 > > * Honorable "Hoehle, Joerg-Cyril" <Joe...@t-...> writes: > > > > Are there compiler restrictions on using defclass and > > make/allocate-instance in the same file? > > not in CLISP. > you may need to tweak pcl::*defclass-times*, pcl::*defgeneric-times* > and pcl::*defmethod-times* for CMUCL and SBCL. For what it's worth, those variables do not exist in SBCL, and as long as the class is defined before it is used there is no problem with making an instance of a class in the same file. Cheers, Christophe -- http://www-jcsu.jesus.cam.ac.uk/~csr21/ +44 1223 510 299/+44 7729 383 757 (set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b))) (defvar b "~&Just another Lisp hacker~%") (pprint #36rJesusCollegeCambridge) |