4 ms·
Symbol property lists (like in CL: http://www.lispworks.com/documentation/lw70/CLHS/Body/t_symbol.htm http://www.lispworks.com/documentation/lw70/CLHS/Body/t_sy
by junke 10y ago
Symbol property lists (like in CL: http://www.lispworks.com/documentation/lw70/CLHS/Body/t_symbol.htm http://www.lispworks.com/documentation/lw70/CLHS/Body/t_symb...) are useful, but you have to take care about the difference between symbols and variables. The same symbol in a different environment can represent a variable of a different type. Apparently symbol-access manipulates the current lexical environment, ie. a specific binding of particular symbol.
> For the more knowledgeable, is (symbol-access) a complete general purpose primitive for reactive programming, like (delay) and (force) are for laziness?
As far as I know, yes, but careful about mutual references: if updating x when y changes triggers another update of y from x, you might never terminate.