[plt-scheme] Class Contracts
That would explain the lack of examples :). I tried object-contract and
found that - as you said - it applies to the instances themselves. I'd love
to try class contracts out when they're at that point.
On Fri, Apr 17, 2009 at 9:06 PM, Matthias Felleisen <matthias at ccs.neu.edu>wrote:
>
> Sadly classes don't have contracts .. yet. Stevie is working on them.
>
> You can slap contracts on objects though is that helps -- Matthias
>
>
>
> On Apr 17, 2009, at 11:04 PM, Doug Williams wrote:
>
> Is there a good example of a module that exports a class with an
>> appropriate contract?
>>
>> Doug
>> _________________________________________________
>> For list-related administrative tasks:
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090417/5218e576/attachment.html>