[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Correct procedure for calling methods?



I need to my own kind of dispatching for a certain generic function.
My plan is to use COMPUTE-APPLICABLE-METHODS and selectively call
certain ones. However, I cannot find in the CLOS spec (cltl2) the
official way to do this. CALL-METHOD is inappropriate because it
"...is used in method combination..." and "It can be used only within
an effective method form..." .

Either I'm missing the right call or I'm trying to do something
"illegal". But I thought COMPUTE-APPLICABLE-METHODS was included for
this kind of purpose! Would someone please tell me the portable way to
do this? (Bill has told me of MCL's METHOD-FUNCTION accessor but this
is non-standard and it crashes if the method invokes CALL-NEXT-METHOD
or NEXT-METHOD-P.)


Sincerely,

matt