You could use a mixin. http://docs.racket-lang.org/reference/mixins.html?q=mixin&q=class#(form._((lib._racket/private/class-internal..rkt)._mixin))
On 08/24/2011 08:31 AM, Alexander Kasiukov wrote: > Dear Racket users, > > What is the best way to make a class in Racket abstract? I would like to have > a class which > > never gets instantiated > implements certain methods common to all of its children > needs to call some of the methods implemented in the children. > > Sincerely yours, > Alex > _________________________________________________ > For list-related administrative tasks: > http://lists.racket-lang.org/listinfo/users _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users