[plt-scheme] class.ss: super vs this methods

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Fri Aug 4 22:59:17 EDT 2006

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


Posted on the users mailing list.