Post AR1VvSvI2njgOZZznM by robpike@inuh.net
(DIR) More posts by robpike@inuh.net
(DIR) Post #AR1VvSUhdeT7478lM0 by danderson@hachyderm.io
2022-12-27T05:19:22Z
0 likes, 0 repeats
Super interesting scoping rules in LISP 1.5: constants and globally defined functions take precedence over the eval environment.That means that if you define FOO globally, you cannot then (LABELS FOO (LAMBDA ...)) in a function to override FOO. FOO will always refer to the global func.
(DIR) Post #AR1VvSvI2njgOZZznM by robpike@inuh.net
2022-12-27T06:18:35Z
0 likes, 0 repeats
@danderson The invention of structured scope was a big deal. Surprised that to this day there are still programmers who don't understand it, after the abuses of languages that don't understand it.