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]

gh_set?


In future versions of Guile, it would be nice to have a gh_set(name,value)
routine that is equivalent to "set!".  (And, to keep the names symmetrical,
perhaps gh_get instead of gh_lookup.)

What is the best way to do a "set!" from C in Guile 1.2?  The only way I
can think of at the moment is to manually construct a "(set! foo bar)"
string and call gh_eval_str, which seems rather ugly.

Cordially,
Steven G. Johnson