Created
December 13, 2016 04:03
-
-
Save zhouqiang-cl/ec6cdeb9241c1d6a803b61947ac8f3b8 to your computer and use it in GitHub Desktop.
common lisp 的函数 MAKUNBOUND
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
语法 | |
makunbound symbol => symbol | |
参数和值 | |
symbol --- 一个 symbol | |
描述 | |
无论 symbol 之前是否绑定,都解绑定 symbol | |
代码 | |
* (setf (symbol-value 'a) 1) | |
1 | |
* (boundp 'a) | |
T | |
* (makunbound 'a) | |
A | |
* (boundp 'a) | |
NIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment