Created
December 21, 2016 15:02
-
-
Save zhouqiang-cl/1033aed7dd6713ac7f5dc0ad03b4d689 to your computer and use it in GitHub Desktop.
common lisp 的函数 FUNCALL
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
语法 | |
funcall function &rest args => result* | |
参数和值 | |
function --- 一个函数指示符 | |
args --- 函数的参数 | |
results --- function 返回的 values | |
描述 | |
funcall 执行函数, 如果 function 是一个 符号,则强制找到这个符号所代表的函数,然后进行求值 | |
代码 | |
* (funcall 'car '(1 2 3)) | |
1 | |
* (funcall #'car '(1 2 3)) | |
1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment