4 ms·
When I read the "lvalues and references" part, I thought about functional programming and equivalence. That is, an interpreter where you can state: f(g(h(x
by derefr 19y ago
When I read the "lvalues and references" part, I thought about functional programming and equivalence. That is, an interpreter where you can state:
f(g(h(x))) = n
and any time the first was mentioned, it would be substituted with the second, and vice versa, whichever allows the evaluator to simplify to a greater extent.
Then, thinking further, are there any programming languages that rely on the sorts of math where f(f^-1(x)) is simplified to x without being evaluated?
- jey 19y ago"Then, thinking further, are there any programming languages that rely on the sorts of math where f(f^-1(x)) is simplified to x without being evaluated?" Mathematica?