sync notes(auto)
This commit is contained in:
parent
c263e97dd1
commit
d4210c98f4
1 changed files with 4 additions and 3 deletions
|
@ -5,10 +5,11 @@
|
|||
defvar, defparameterはダイナミックスコープの変数(スペシャル変数)を定義する。
|
||||
letや未定義時のsetfはレキシカルスコープの変数を定義する。
|
||||
グローバル変数をレキシカルに作る方法は(少なくとも標準的には)無い。 上記未定義時のsetfは期待した動作をするが、推奨されていない。
|
||||
cf. [[20240428125606 ダイナミックスコープ レキシカルスコープ |ダイナミックスコープ レキシカルスコープ]]
|
||||
|
||||
cf. [lispguide.xml](https://google.github.io/styleguide/lispguide.xml?showone=Global_variables_and_constants#Global_variables_and_constants)
|
||||
> Common Lisp does not have global lexical variables
|
||||
cf.
|
||||
- [[20240428125606 ダイナミックスコープ レキシカルスコープ |ダイナミックスコープ レキシカルスコープ]]
|
||||
- [lispguide.xml](https://google.github.io/styleguide/lispguide.xml?showone=Global_variables_and_constants#Global_variables_and_constants)
|
||||
Common Lisp does not have global lexical variables
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue