Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 13, 2016 04:03
Show Gist options
  • Save zhouqiang-cl/ec6cdeb9241c1d6a803b61947ac8f3b8 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/ec6cdeb9241c1d6a803b61947ac8f3b8 to your computer and use it in GitHub Desktop.
common lisp 的函数 MAKUNBOUND
语法
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