[racket] tool to remove unused requires?

From: Neil Van Dyke (neil at neilvandyke.org)
Date: Sun May 29 14:37:59 EDT 2011

Vincent St-Amour wrote at 05/29/2011 09:07 AM:
> macro-debugger/analysis/check-requires
> or the script version: macro-debugger/analysis/check-requires-script
>
> I used them in the past, and they work quite well.
>   

That sounds promising.  Thanks!


Sam Tobin-Hochstadt wrote at 05/29/2011 09:02 AM:
> On Sun, May 29, 2011 at 9:00 AM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:
>   
>> 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.

In this case, I want to tidy up around 1,000 Racket source files with 
which I'm somewhat familiar, and I expect that Check Syntax would be 
able to do pretty much all of them fine.

-- 
http://www.neilvandyke.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110529/d3fa8d01/attachment.html>

Posted on the users mailing list.