[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Method and Generic Function internal names
- To: smh@franz.com
- Subject: Re: Method and Generic Function internal names
- From: konstan@hermes.Berkeley.EDU (Joe Konstan)
- Date: Fri, 11 Aug 89 13:18:08 -0700
- Cc: commonloops.pa@Xerox.COM
- Redistributed: commonloops.pa
I tried your suggestion, and think I have a simpler version which works
(but may have unforseen future problems):
(defun get-setf-function-name (name)
(or (gethash name *setf-function-names*)
(setf (gethash name *setf-function-names*)
(intern (let* ((pack (symbol-package name))
(pack-name (package-name pack))
(plain-name (symbol-name name))
(*package* (or pack *the-pcl-package*))
(*print-case* :upcase)
(*print-gensym* t))
(format nil "SETF ~A::~A"
pack-name
plain-name))
*the-pcl-package*))))
Thanks a lot
Joe Konstan