Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 18, 2016 02:42
Show Gist options
  • Select an option

  • Save zhouqiang-cl/a5c134257415bb6f0b2e62af4f0e197a to your computer and use it in GitHub Desktop.

Select an option

Save zhouqiang-cl/a5c134257415bb6f0b2e62af4f0e197a to your computer and use it in GitHub Desktop.
common lisp 的函数 STRINGP
语法
stringp object => generalized-boolean
参数和值
object --- 一个 object
generalized-boolean --- 一个 generalized-boolean
描述
如果 object 是 string 类型, 返回 true, 否则返回 false
代码
* (stringp "aaaaaa")
T
* (stringp #\a)
NIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment