Hi Ian, Ian Hulin <[email protected]> skribis:
> (load-from-path) showed the expected module '(lily), (compile-file) > showed an "anonymous" module with an internally generated name. If you look at ‘compile’ in (system base compile), you’ll find that it has an ‘env’ argument, which is the module where compilation takes place (in the case of Scheme.) The default value for that module can be found in (language scheme spec): it’s a fresh module, as you noticed. The intent is to confine side-effects that may happen at compile-time. You can specify another module by just calling (compile exp #:env my-module). Thanks, Ludo’.
