Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 21, 2016 13:02
Show Gist options
  • Save zhouqiang-cl/4aa63fa99340f39abfd67436d1131f00 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/4aa63fa99340f39abfd67436d1131f00 to your computer and use it in GitHub Desktop.
common lisp 的函数 APPLY
语法
apply function &rest args+ => result*
参数和值
function --- 一个函数指示符
args --- 可展开的参数列表
results --- function 返回的 values
描述
对这个function 使用这些参数
代码
* (apply #'+ '(1 2))
3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment