Hi Jon, Jon Wilson <[EMAIL PROTECTED]> writes:
> Thanks for the swift reply. However, I meant to ask whether or not > the fluid "the_module" is accessible from scheme as a fluid. Ah sorry. Then the answer is "no". Then indeed, you have to go through `dynamic-wind'. Arguably, this is not very convenient, but it's been this way for very long. OTOH, you have `save-module-excursion' which takes a thunk and does what you want. You could write: (define (load-with-env file env) (save-module-excursion (lambda () (set-current-module env) (load file)))) And no, it's not documented (patch welcome! ;-)). Thanks, Ludovic. _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user