sync notes(auto)
This commit is contained in:
parent
e77ddb5407
commit
23073e4451
2 changed files with 10 additions and 0 deletions
|
@ -68,6 +68,15 @@ d ; => 1
|
|||
;; caught 1 WARNING condition
|
||||
(setf e 2); 2回目 ;; 同様のwarningが出る
|
||||
e ; => 2
|
||||
;; defconstant強い。letでも変えられない
|
||||
(let
|
||||
((d 2)))
|
||||
;; Execution of a form compiled with errors.
|
||||
;; Form:
|
||||
;; (LET ((D 2)))
|
||||
;; Compile-time error:
|
||||
;; COMMON-LISP-USER::D names a defined constant, and cannot be used in LET.
|
||||
;; [Condition of type SB-INT:COMPILED-PROGRAM-ERROR]
|
||||
```
|
||||
|
||||
### Refs.
|
||||
|
|
|
@ -90,4 +90,5 @@ int main(void)
|
|||
- [変数束縛はLispのもう一つの本質である(続き)](http://blog.livedoor.jp/s-koide/archives/1873931.html)
|
||||
|
||||
### 参考にしてはいけない
|
||||
- レキシカルスコープの説明しかない [クロージャ - JavaScript | MDN](https://developer.mozilla.org/ja/docs/Web/JavaScript/Closures)
|
||||
- とてもわかりにくい [動的スコープ - Wikipedia](https://ja.wikipedia.org/wiki/%E5%8B%95%E7%9A%84%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%97)
|
Loading…
Reference in a new issue