[racket] tool: show module exports

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Fri Jul 23 17:30:48 EDT 2010

  On 07/22/2010 11:03 AM, Stephen De Gabrielle wrote:
> This is cool,
>
> I'm calling it from drracket, but it seems to be choking on mred-kernel.
>

I threw the tool up on planet for now: (require (planet "check.rkt" 
("kazzmir" "check.plt" 1 0)))

It adds a command to raco so you can do
$ raco extract foo.rkt

It will list all the imports from racket/base, which is a lot of stuff, 
so for now its probably best to use --exports to just get the export list.

$ raco extract --exports foo.rkt

Stephen, how were you running the tool from drracket? Maybe I'll make a 
simple button that runs the tool on the currently opened file in drracket.


Posted on the users mailing list.