Re: [PATCH] More correctly describe the scope of variables

2020-12-25 Thread Pete Dietl
So if you imagine each function call as creating a new environment, an environment being a dictionary of key value pairs that stores variables we define locally AND a “parent pointer” to another environment, then we can define lexical vs dynamic scoping as follows: Lexical: the parent pointer in a

[PATCH] More correctly describe the scope of variables

2020-12-25 Thread Jouke Witteveen
* NEWS: Use "local" instead of the incorrect "lexically-scoped". * doc/make.texi: Refer to let/foreach variables as local variables. --- This is an erratum on the addition of $(let ...). During an early review of $(let ...), thutt cautioned that it did not implement "full semantic scoping" [sic]. W