Re: change-class on generic functions
- From: Bruno Haible <bruno@xxxxxxxxx>
- Date: 13 Apr 2005 19:01:04 GMT
Pascal Costanza wrote:
> If a generic function is created at compile-time, and
> subsequently a defgeneric form is loaded that specifies a different
> generic function class, a change-class has to be issued.
Yes.
> What should
> happen to a generic function whose purpose is to make remote calls when
> you suddenly change it to some other generic function class that doesn't?
Well, then it will not do remote calls any more :-) Where is the semantic
problem?
There is no semantic problem with changing the behaviour of a function
through adding or removing methods from it, or through modification of
its slots' values. Why then should CHANGE-CLASS be different?
Bruno
.
- Follow-Ups:
- Re: change-class on generic functions
- From: Pascal Costanza
- Re: change-class on generic functions
- References:
- BetaCLOS
- From: Pascal Costanza
- Re: make-method-lambda ill-designed
- From: Pascal Costanza
- Re: make-method-lambda ill-designed
- From: Bruno Haible
- Re: make-method-lambda ill-designed
- From: Pascal Costanza
- BetaCLOS
- Prev by Date: sbcl threads semaphore?
- Next by Date: First shot at lisp mini-app - How to make it lispy and not lisp-c
- Previous by thread: Re: make-method-lambda ill-designed
- Next by thread: Re: change-class on generic functions
- Index(es):
Relevant Pages
|