Last active
December 20, 2016 06:54
-
-
Save zhouqiang-cl/3a19ce85c6829e8c04e4d4b7b6175c4a to your computer and use it in GitHub Desktop.
common lisp 的函数 MAKE-SYMBOL
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
语法 | |
make-symbol name => new-symbol | |
参数和值 | |
name --- 一个 string | |
new-symbol --- 一个新的 uninterned symbol | |
描述 | |
make-symbol 返回一个新的 uninterned 的名字为 name 的symbol。这个新的symbol有一个空的属性列表, 这个 symbol 没有 bound和 fbound | |
代码 | |
* (setf temp (make-symbol "x")) | |
#:|x| | |
* (symbol-name temp) | |
"x" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment