Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 4, 2016 06:23
Show Gist options
  • Save zhouqiang-cl/0c0dd0ab436246e808f8a5a85e1df2e2 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/0c0dd0ab436246e808f8a5a85e1df2e2 to your computer and use it in GitHub Desktop.
common lisp 的函数 NULL
语法
null object => boolean
参数和值
object --- 一个 object
boolean --- 一个 boolean
描述
如果 object 是一个空 list, 返回 T, 否则返回 nil
代码
* (null '())
T
* (null t)
NIL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment