[Ecls-list] Ecls-list digest, Vol 1 #330 - 1 msg

Edi Weitz edi at agharta.de
Fri Nov 19 08:55:07 UTC 2004

On Fri, 19 Nov 2004 17:11:47 +0100, Pascal J.Bourguignon <pjb at informatimago.com> wrote:

> CLSH says:
>      load binds *readtable* and *package* to the values they held
>      before loading the file.

That is right.

> so modifications to the current readtable inside the loaded file are
> not kept.

That is wrong. The fact that the special variable *READTABLE* is
re-bound doesn't change the fact that the current readtable is still
the current readtable. The CLHS doesn't say that *READTABLE* is bound
to a /copy/ of the current readtable.

The OP's example works as expected in other Lisps like CMUCL, CLISP,
or AllegroCL.


More information about the ecl-devel mailing list