[plt-scheme] class init

From: Robby Findler (robby at cs.uchicago.edu)
Date: Fri Apr 14 08:52:00 EDT 2006

At Fri, 14 Apr 2006 13:23:13 +0200 (CEST), Ivanyi Peter wrote:
> Hi,
> I create a subclass and add a new init value to the class.
> How can I check the value of the supplied init value during the 
> instantiation of the class? (For example the given value
> satisfies
> certain minimal requirements.)

Do you mean with the contract library? Unfortunately, the support for
class contracts is not there yet. So, for now, you'll have to manually
put in a check.


Posted on the users mailing list.