[plt-scheme] drscheme feature idea: automatically add missing exports for scheme modules
I hadn't thought of that. In my case, my embedded documentation serves
a similar purpose.
Just, before releasing a library, once the interface is solidly designed
and documented I want to change the "provide all defined" to not include
the "%" names, so that I'm not polluting namespaces of library users.
Jay McCarthy wrote at 07/27/2009 07:42 AM:
> I like having to write them out because I'm forced to think about each
> function, its interface description, and its contract.
>
> I'm sure that this sort of thing would be a fairly straight-forward
> PLaneT tool that leveraged Check Syntax.
>
> Jay
>
> On Mon, Jul 27, 2009 at 5:39 AM, Neil Van Dyke<neil at neilvandyke.org> wrote:
>
>> Here's a DrScheme feature that I could really use: a command that would add
>> to the "provide" form of the module in the editor any names defined in the
>> module but not exported currently, *except* those with names beginning with
>> the character "%".
>>
>> A somewhat less-ideal feature would include "%" symbols as well, and I could
>> just manually delete those.
>>
>> "%" is a convention that I stole from (I believe) Olin Shivers for marking
>> names internal to the library. A feature like I described could support
>> that convention in a generalized way by permitting the user to use regexps
>> to specify which names to exclude.
>>
>> --
>> http://www.neilvandyke.org/
>> _________________________________________________
>> 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/20090727/c6b9aa7b/attachment.html>