[racket] tool to remove unused requires?

From: Sam Tobin-Hochstadt (samth at ccs.neu.edu)
Date: Sun May 29 09:02:18 EDT 2011

On Sun, May 29, 2011 at 9:00 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
> 2011/5/29 Neil Van Dyke <neil at neilvandyke.org>:
>> Is there a tool to remove unused "require" clauses from a Racket source
>> file?
>> If Check Syntax doesn't think the clause is used, that's good enough for me.
> I assume that this comment means you know that Check Syntax isn't
> accurate, right? Not every macro records disappeared uses correctly,
> for example.

More problematically, uses of `require' can have side effects, which
Check Syntax of course doesn't know about.
sam th
samth at ccs.neu.edu

Posted on the users mailing list.