Hello!

Sebastian Tennant <[EMAIL PROTECTED]> writes:

> What exactly happens when you 'define' a symbol?

In Guile (non-portable) terms, "(define foo 'bar)" is equivalent to:

  (module-define! (current-module) 'foo 'bar)

or, at a lower-level:

  (module-add! (current-module) 'foo (make-variable 'bar))

But, just like "`eval' is evil", run-time symbol definition doesn't
sound right.  Surely, there are other ways that you could use to solve
your problem more elegantly.

Thanks,
Ludo'.



Reply via email to