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

Object mathod inheritance



In old versions of T is was possible to specify in an object's method list
another object (or rather, a handler) to default to for calls to methods not
defined for the object.  For example,

	(object nil
	  ((print self port) (format port "zowie"))
	  (=> default-handler))

would use DEFAULT-HANDLER's method clauses for all methods other than PRINT.

Does this functionality still exist??  JOIN will accomplish a similar thing,
but (1) I would prefer to do it at object definition time, and (2) I want to
do this will structures, which are not (yet) supported by JOIN.


Bruce Krulwich
-------