[plt-scheme] abstract methods/classes
I typically just write methods that only raise exceptions.
(class ...
(define/public (m x) (error 'm "abstract")))
Robby
On Friday, March 21, 2003, at 10:30 PM, Neil W. Van Dyke wrote:
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Is there a way to do abstract methods in with the class.ss object
> system?
>
> I suppose one way would be to let class impose an interface constraint
> upon *sub*classes that is enforced at instantiation time.
>
> --
>
> http://www.neilvandyke.org/
>