At 06:48 AM 8/20/98 -0700, Karl M. Hegbloom wrote:
Is it possible to use multiple obarrays, and use them like packages
or modules?
Probably not (or at least not without a lot of work). An obarray is a
sequence (list or array) of symbols created by INTERN and usually
found in Lisp environments which have no packages.
I thought about this a little bit... I wonder if it could work
something like keymaps, how they inherit.
If you intern a symbol in two different obarrays, are they `eq' then?
So there's only one symbol actually allocated, and two obarrays, and
an entry in each obarray for that symbol.
One would hope not. If the "two" symbols are EQ then the whole purpose
of interning them into two different obarrays will have been defeated.
(Being EQ means that the "two" objects have exactly the same memory
address pointer.)
An obarray seems kind of like a scheme environment, only global...
Obviously I need to just continue reading and learning about this
sort of thing.
Craig Lanning
E-Mail: CraigL(a)InternetX.net