[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lexical scope and dynamic extent
In Explorer Common Lisp you get:
>>>ERROR: GO tag L is not defined or is no longer valid
which seems reasonable given the statment near the top of pg. 131 of
CLtL, "Once a tagbody construct has been exited, it is no longer legal
to go to a tag in its body."
I think you may be confusing dynamic extent and indefinite extent.
An entity with dynamic extent (in this case the tag) continues to
exist only as long as the form that establishes it (the tagbody),
while entities with indefinite extent continue to exist as long as
there is a reference to them.