Making a variable "unspecial"

David Scherfgen via Sbcl-help <[email protected]> Tue, 8 Apr 2025 07:15:12 +0200
Newsgroups gmane.lisp.steel-bank.general
Message-ID <CAMTHLKjTO-zRVPcivPhAFtq+30gXxc59p21RN41yXVG4-y4CJg@mail.gmail.com>
Hello,

Is there an (undocumented?) way to make a special variable "unspecial"
again?

Some other Lisps allow doing this. The Maxima Computer Algebra System does
this because some source code files use a certain variable as a special
one, while others don't. I'm aware that this is not good practice,
especially since the special variables are not named like *var*, but just
like var.

Accessing special variables is more expensive than accessing lexical ones.

Best regards
David Scherfgen

_______________________________________________
Sbcl-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-help