Created
December 4, 2016 10:34
-
-
Save zhouqiang-cl/98956e89ffad26eefdeef6bf593dc2c6 to your computer and use it in GitHub Desktop.
common lisp 的函数 SET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法(这个set函数已过时) | |
set symbol value => value | |
参数和值 | |
symbol --- 一个 symbol | |
value --- 一个 object | |
描述 | |
set 给 symbol 的内容赋值为 value | |
代码 | |
* (set 'n 2) | |
2 | |
* n | |
2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment