Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Last active December 20, 2016 07:41
Show Gist options
  • Save zhouqiang-cl/324d57e2be809fab9db7c88872f94643 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/324d57e2be809fab9db7c88872f94643 to your computer and use it in GitHub Desktop.
common lisp 的函数 BOUNDP
语法
boundp symbol => generalized-boolean
参数和值
symbol --- 一个 symbol
generalized-boolean --- 一个 generalized boolean
描述
如果 symbol 被绑定了, 返回 true, 否则返回 false
代码
* (setq x 1)
1
* (boundp 'x)
T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment