Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 13, 2016 07:45
Show Gist options
  • Save zhouqiang-cl/f1acdf730d8053344debf65aa40ba610 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/f1acdf730d8053344debf65aa40ba610 to your computer and use it in GitHub Desktop.
common lisp 的特殊操作符 THE
语法
the value-type form => result*
参数和值
value-type --- 一个类型标识符
form --- 一个 form
results --- 对 form 求值产生的 结果, 这些结果符合 value-type
代码
* (the fixnum (+ 5 7))
12
* (the symbol (+ 5 7))
debugger invoked on a SIMPLE-TYPE-ERROR:
Value of (+ 5 7) in(THE SYMBOL (+ 5 7)) is 12, not a SYMBOL.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment