[plt-scheme] class.ss: super vs this methods
On 8/4/06, Jon Rafkind <workmin at ccs.neu.edu> wrote:
> I mean you cant refer to a function not declared explicitly in the scope
> of the class you are using without using (super) or (send this)
Is "inherit" what you're looking for? That will inherit from anywhere
arbitrarily high up the class hierarchy, and bind a local name so you
can call it directly. The names do have to be declared somewhere,
though; because superclasses are not always known statically, the
class system does not automatically know what set of names is
inherited.
--
Carl Eastlund