我有一个函数,它的功能如下:
我需要一个调用 the-function 的函数。
我尝试使用 [&args],但似乎无法正确地传递参数。
如果有帮助的话,the-function 就像 MySQL 中的 create-table,可以在这里找到:here 编辑: 我的不起作用的函数是这样的:
(the-function [one] [two] [three])
我需要一个调用 the-function 的函数。
我尝试使用 [&args],但似乎无法正确地传递参数。
如果有帮助的话,the-function 就像 MySQL 中的 create-table,可以在这里找到:here 编辑: 我的不起作用的函数是这样的:
(defn my-function [& args]
(the-function args))
我希望能够做到以下几点:
(my-function [one] [two] [three])
并使用这些参数调用the-function