|
|
|
|
|
by fasquoika
2782 days ago
|
|
> Further, when a variable is evaluated, you get both its value and a reference to it. This allows variables to be evaluated before being assigned to in assignments. This sounds weird, but it works with the above. You can make a "set" function which does the same thing as assignment Have you read Strachey's "Fundamental Concepts in Programming Languages"[1]? You seem to have rediscovered lvalues. [1] https://www.itu.dk/courses/BPRD/E2009/fundamental-1967.pdf |
|