>     Chisheng> Afterall, we can do (TRACE (METHOD CALL-X (BABU))).
>
> I haven't implemented this because I didn't want to think about how to
> distuinguish this from a list of functions, but it seems to work now:
>
>    (defclass babu () ())
>
>    (defun x (babu)
>      (when babu
>        (random 1000)))
>
>    (defmethod call-x ((babu babu))
>      (cons 42 (x babu)))
>
>    (defmethod call-x :before ((babu babu))
>      (cons 'before (x babu)))
>
>    (defmethod call-x ((z integer))
>      (cons 'a (x z)))
>
>
>    (trace x :wherein ((method call-x (babu))))

This is fine by me.  If this is going to be committed into CVS, please
also update Section 3.10 of CMUCL User's Manual to make it clear how a 
method is specified for :WHEREIN.

> If slime really wants to use the form (method call-x (babu)) instead
> of ((method call-x (babu))), I guess that can be arranged.

I guess Slime developers would do whatever is specified in the CMUCL
manual.

Thanks.

-cph


Reply via email to