[racket] runtime-path + dynamic-require ?

From: Laurent (laurent.orseau at gmail.com)
Date: Fri Sep 10 11:18:46 EDT 2010

On Fri, Sep 10, 2010 at 17:06, Laurent <laurent.orseau at gmail.com> wrote:

>
>
> On Fri, Sep 10, 2010 at 16:43, Sam Tobin-Hochstadt <samth at ccs.neu.edu>wrote:
>
>> On Fri, Sep 10, 2010 at 10:34 AM, Laurent <laurent.orseau at gmail.com>
>> wrote:
>> >
>> > So now, how do I make things work with `dynamic-require' ?
>> > Do all paths need to be defined as runtime-paths in my "splash.rkt",
>> > to use only normal relative paths in dynamically required files?
>> > Or can I get completely rid of runtime-path?
>>
>> I believe that you should add:
>>
>> (define-runtime-module-path name require-path)
>>
>>
One caveat though:  since such modules sub-dependencies are not "files"
anymore,
framework/splash won't recognize them, and then gauge in the splashscreen
will not
animate smoothly but will be binary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100910/c18a498f/attachment.html>

Posted on the users mailing list.