Hi, Andy Wingo <[email protected]> writes:
> On Sun 01 Feb 2009 08:58, Julian Graham <[email protected]> writes: > >> Is there some way to get the module-creation >> behavior of `resolve-module' but also be able to include stuff from >> other modules in the resulting environment? > > guile> (resolve-module '(foo)) > $1 = #<directory (foo) b7f11bb0> You could also use: (let ((m (make-module))) (set-module-name! m '(foo)) m) but you still need this ugly part: > guile> (beautify-user-module! $1) > $2 = (#<interface (guile) b7f8aef0>) Thanks, Ludo'.
