Last active
December 20, 2016 06:51
-
-
Save zhouqiang-cl/8cd0b90e72d7a15b425fe9c9368b864f to your computer and use it in GitHub Desktop.
common lisp 的函数 SYMBOLP
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
语法 | |
symbolp object => generalized-boolean | |
参数和值 | |
object --- 一个 object | |
generalized-boolean --- 一个 generalized-boolean | |
描述 | |
如果 object 是一个 symbol, 就返回 true, 否则返回 false | |
代码 | |
* (symbolp 'elephant) | |
T | |
* (symbolp '()) | |
T | |
* (symbolp :test) | |
T | |
* (symbolp "hello") | |
NIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment