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]

"Magic" Variables?



Is there any way in Guile to have special code executed whenever a
particular variable is set? I'm pretty sure there isn't, but I wanted
to make sure.

Such a thing would be useful for avoiding a lot of ad-hoc setter
procedures in guile-based configuration languages where some immediate
effect should take place when certain options are set, and for
implementing tcl variable traces for a possible future tcl translator.

 - Maciej Stachowiak