[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Binding functions vs packages.
- To: LISP-FORUM at MIT-AI
- Subject: Binding functions vs packages.
- From: Richard M. Stallman <RMS at MIT-AI>
- Date: Thu ,18 Jun 81 05:44:00 EDT
The use of syntactically nested functions is very bad for
extensibility. If I have FOO which calls BAR, and BAR is defined
separately, I can redefine either one separately.
If FOO contains a LABELS which defines BAR, then I cannot redefine
just one of them without redefining the other (trivially).
I hear that GJS and HAL have a plan for manipulating "lexical"
environments in a fashion which is not really syntactically nested,
and this may solve the problem. But it is not simply ordinary lexical
binding of function names. Anything which is really syntactically
local does not do the job.