This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Mar 08, thi decided to present us with: > > as i understand it, `define-module' does `set-current-module' > implicitly. so the way to do the above is something like: > > (define-module (top)) > (define x 1) > x => 1 > > (define-module (foo bar)) > (define x 2) > x => 2 > > (define-module (top)) > x => 1 Works, thanks. Anyone has a hint of how to do this from C [except for gh_eval_str ("(define-module (foo bar))") ;-)] ? Is it possible at all? []s, |alo +---- -- I am Lalo of deB-org. You will be freed. Resistance is futile. http://www.webcom.com/lalo mailto:lalo@webcom.com pgp key in the web page Debian GNU/Linux -- http://www.debian.org