Sujet : Re: History of lexical scope in Lisp
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.lispDate : 18. Mar 2024, 01:05:22
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <ut7svi$3pbnh$2@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Sun, 17 Mar 2024 16:42:34 -0600, Jeff Barnett wrote:
Just think of the following when specifying a variable's intent: is it
supposed to influence an evaluation or is it supposed to influence an
evaluation when it's in a particular lexical scope? Does that help you
any?
Seems you phrased that wrong: it should be “is it supposed to influence an
evaluation or is it supposed to influence an evaluation when it’s in a
particular *dynamic* scope”? Because a variable in a lexical scope is
always in that lexical scope, no “when” about it.
The example of error handling is that it's generally supposed to control
an evaluation. If error handling was lexically based ...
I didn’t say error handling was lexically based, I said the matching of
exceptions was lexically based. I thought my example made that distinction
clear.