Ludovic Court?s:

Hi,

"Kjetil S. Matheussen" <[EMAIL PROTECTED]> writes:

Now I wonder, is this safe and portable? Or are there
other and better ways to do this?

Neither `define-macro' nor `procedure->macro' is portable: both are
Guile-specific (SCM may have similar forms, though).


Thanks, but by "portable", I did (of course) mean portable
across various versions of Guile, not any of the scheme
standards...


Another, simpler, Guile-specific way to do this would be:

 (module-define! (current-module) 'gakk 'some-value)


Thanks, but that's probably not enough for what I
want to do. I need to simulate dynamic scoping
somehow, and I think its only possible to do that
by manipulating the environment. But I'm not
going to do that if its going to break with
forthcoming releases of Guile.



_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user

Reply via email to