At Thu, 11 Jun 2015 20:22:16 +0000, John Carmack wrote: > How do you include a racket module in an R6RS program? > > I have remote.rkt in the same directory as test.scm. > > With R5RS I could do (#%require "remote.rkt"), but that doesn't work, and I > tried various things in the (import) statement without success.
The `import` form in the R6RS implementation doesn't currently support relative references to modules. It can only reference modules through collection paths, so a module has to be "installed" to be accessible. For example, if "remote.rkt" is placed in "my-utils" directory that is linked as a package with (the trailing slash is important) raco pkg install my-utils/ then (import (my-utils remote)) accesses the module. > Are there any plans for an R7RS lang in Racket? I'm not aware of any plans. Note that the R6RS implementation isn't built-in to Racket; it's just a pile of libraries. I expect that R7RS could be implemented similarly in its own package, but I am not aware of anyone working on that package, so far. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.