[plt-scheme] hey ! where's send super

From: briand at aracnet.com (briand at aracnet.com)
Date: Tue Mar 2 23:18:35 EST 2004

I just _know_ that I'm not interpreting the use of class.ss correctly.
Probably the answer is something to do with interfaces, I'm sure :-)

Class A inherits class B

class A has a write routine which writes out thing specific to A (not
inherited from B).

it then does send-super to write out those things which are specific
to class B

Only it doesn't do that because:

1.  I can't redefine the write routine without overriding it and I'm
certainly not going to re-write the write routine to handle A & B
because completely defeats the purpose.

2.  there's no send-super even if I could do this.

and the write(hehe) way to do this is ?



Posted on the users mailing list.