[plt-scheme] Equivalent of abstract classes?

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Sat Dec 5 18:26:54 EST 2009

(define-syntax-rule 
  (define/abstract foo) 
  ;; --> 
  (define/public (foo . x) (error 'foo "is an abstract method in an abstract class"))

The real question is why one would want one. 



On Dec 5, 2009, at 6:24 PM, Todd O'Bryan wrote:

> Is there the equivalent of Java's abstract classes  (i.e., interfaces
> with some default implementations) in PLT's class system?
> 
> Todd
> _________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme



Posted on the users mailing list.