[plt-scheme] PLT object system

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Feb 16 18:10:51 EST 2005

On Feb 16, 2005, at 5:30 PM, David J. Neu wrote:

>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> Hi,
>
> Is there a way to specify a set of fields that a class must implement
> using the PLT object system (i.e. class.ss)?
>
>> From the documentation: "An interface is a collection of method names
> to be implemented ..."., is there a similar thing for a set of field
> names?

Come to a neighborhood near you real soon, or so they say. But don't 
hold your breath.

> If not how do you do this - define a superclass that contains the
> required fields and derive a new class from it?

Yes.

-- Matthias

P.S. And today I just wrote a macro that makes such fields public. 



Posted on the users mailing list.