[racket-dev] submodules

From: Carl Eastlund (cce at ccs.neu.edu)
Date: Fri Mar 9 18:05:35 EST 2012

On Fri, Mar 9, 2012 at 5:58 PM, Jay McCarthy <jay.mccarthy at gmail.com> wrote:

> I just pushed...
>
> - module**
>
> Like module* but combines multiple occurrences of the same submodule
> name into one module*
>
> - when-testing
>
> An abbreviation of module** with the name test and the #f language
>
> - raco test
>
> Finds all the files in a directory and requires their test module
>
> I like the name 'raco test'; I'm meh on 'when-testing', I didn't want
> to clash with eli-tester/test or something, but I think whatever we go
> with (and I think there should be such a convenience macro) should be
> similar to what happens with main; I don't know a better name for
> module**. I thought of something using an @ to suggest the splicing,
> but didn't like anything when I tried it.
>

How about "begin-for-testing"?  And "extend-submodule"?

--Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/dev/archive/attachments/20120309/d5c21dc3/attachment.html>

Posted on the dev mailing list.