Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 20, 2016 14:54
Show Gist options
  • Save zhouqiang-cl/3dd5e942d36f21dfc3df8a6b64e7c3be to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/3dd5e942d36f21dfc3df8a6b64e7c3be to your computer and use it in GitHub Desktop.
common lisp 的自求值对象
描述
自求值对象是指返回他自己的值作为唯一值, 即不是 symbol 也不是 cons
lisp 中有三种自求值对象, 数字, pathname, array。
代码
* 3
3
* #p"S:[BILL]OTHELLO.TXT"
#P"S:[BILL]OTHELLO.TXT"
* #(a b c)
#(A B C)
* "fred smith"
"fred smith"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment