[closer-devel] slot readers and writers

Pascal Costanza pc at p-cos.net
Wed Nov 1 15:57:30 UTC 2006


On 1 Nov 2006, at 16:06, Nikodemus Siivola wrote:

>
> * slot-readers &co return _names_, not function object, which really
>   sucks if the symbol has been eg. uninterned or fmakunbound, as that
>   leaves you without any defined means to get at the generic function.
>


(loop for method in (specializer-direct-methods some-class)
       when (subtypep method 'standard-accessor-method)
       collect (cons (accessor-method-slot-definition method)
                     (method-generic-function method)))


Not convenient, but possible...


Pascal

-- 
Pascal Costanza, mailto:pc at p-cos.net, http://p-cos.net
Vrije Universiteit Brussel, Programming Technology Lab
Pleinlaan 2, B-1050 Brussel, Belgium







More information about the closer-devel mailing list