3 ms·
Now, all the Lisps (Racket, Clojure) are lexically scoped. Common LISP is lexically scoped, though it does still have opt-in dynamic scoping ("special variable
by paulddraper 7y ago
Now, all the Lisps (Racket, Clojure) are lexically scoped.
Common LISP is lexically scoped, though it does still have opt-in dynamic scoping ("special variables").
- bathyspheric 7y agoEmacs Lisp is still dynamically scoped, no?
- Impl0x 7y agoI believe so, yes.
- Jtsummers 7y agohttps://www.gnu.org/software/emacs/manual/html_node/elisp/Using-Lexical-Binding.html https://www.gnu.org/software/emacs/manual/html_node/elisp/Us... Since Emacs 24.1 (had to look up the version), it's been possible to enable lexical scope for a file or buffer. The default is still dynamic scope, and dynamic scope can be achieved even after enabling lexical scope with certain conditions.