Created
December 13, 2016 03:53
-
-
Save zhouqiang-cl/d055439aa3cb2eaaa833e50a2355404a to your computer and use it in GitHub Desktop.
common lisp 的函数 BOUNDP
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
| 语法 | |
| boundp symbol => generalized-boolean | |
| 参数和值 | |
| symbol --- 一个 symbol | |
| generalized-boolean --- 一个 generalized-boolean | |
| 描述 | |
| 如果 symbol 被绑定了, 返回 true, 否则返回 false | |
| 代码 | |
| * (setq x 1) | |
| 1 | |
| * (boundp 'x) | |
| T | |
| * (makunbound 'x) | |
| X | |
| * (boundp 'x) | |
| NIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment