[racket] tool: show module exports

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Thu Jul 22 07:44:27 EDT 2010

On Wed, Jul 21, 2010 at 8:33 PM, Jon Rafkind <rafkind at cs.utah.edu> wrote:
>  On 07/21/2010 05:26 AM, Robby Findler wrote:
>>
>> One, non-optimal way to get the contracts is to evaluate the module
>> and use object-contract on the exports (non-optimal because dependent
>> contracts will have ...s in them, etc).
>
> `object-contract' looks like its only for stuff from the class system,
> right? Did you mean some other function?

Sorry. value-contract (you also want has-contract?).

Robby


Posted on the users mailing list.