Does anyone know of a truly declarative language? The behavior I\'m looking for is kind of what Excel does, where I can define variables and formulas, and have the formula\'s re
Here is Daniel's example in Python, since I noticed you said you tried it in Python.
x = 10 y = 10 z = lambda: x + y # Output: 20 print z() x = 20 # Output: 30 print z()