get-slot-value on openmcl
Marco Baringer <[email protected]> Fri, 20 Aug 2004 17:27:19 +0200
| Newsgroups | gmane.lisp.uffi.devel |
|---|---|
| Message-ID | <[email protected]> |
the current implementation of get-slot-value for openmcl loses symbol
name case, i'd suggest this:
(defmacro get-slot-value (obj type slot)
...
#+mcl
`(ccl:pref ,obj ,(intern (concatenate 'string (symbol-name type) "." (symbol-name slot)) :keyword))
)
--
-Marco
Ring the bells that still can ring.
Forget your perfect offering.
There is a crack in everything.
That's how the light gets in.
-Leonard Cohen