Created
December 21, 2016 13:02
-
-
Save zhouqiang-cl/4aa63fa99340f39abfd67436d1131f00 to your computer and use it in GitHub Desktop.
common lisp 的函数 APPLY
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
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