[plt-dev] abstract methods

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Fri Apr 23 08:34:26 EDT 2010

Everyone adds this syntax rule to OO Racket programs:

> (define-syntax-rule
>   (define/abstract (x y ...))
>   (define/public (x y ...) (error 'x "abstract method needs to be  
> instantiated")))

Could some kind current maintainer of class.ss add this rule and add  
the proper syntax magic?

Thanks -- Matthias



Posted on the dev mailing list.