[Ecls-list] Better handling of swank refedinition of method?

Pascal J. Bourguignon pjb at informatimago.com
Fri Dec 28 00:13:37 UTC 2012


Peter Enerccio <enerccio at gmail.com> writes:

> When I try to use ecl with emacs and slime, if I need to change the
> method to a different one, with different lambda list, I get an error
> out of which I can't recover in any sensible way, so I have to stop
> the ecl and start is again and load the new method in. This is way
> too cumberstone, there should be a redefinition restart installed
> when you try to compile new method that has different lambda list
> that expected (or a way to easily undefine previous definition) as it
> is in lispworks.
>
> Could something like this be added, by any chance?

You can also remove the method(s) yourself.

(remove-method (function your-generic-function)
               (find-method (function your-generic-function)
                            qualifier-list
                            old-type-list))

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.




More information about the ecl-devel mailing list