在Clojure中传递一个带参数作为参数的函数

seb*_*ebi 2 parameters function clojure higher-order-functions

我有这个函数,它将一组函数作为参数:

(defn- main-func
  [fn-list]
...)
Run Code Online (Sandbox Code Playgroud)

我通常称之为:

(main-func [f1 f2 ...])
Run Code Online (Sandbox Code Playgroud)

但是f1并且f2都是无法工作的.如何在此调用中包含带参数的函数?我搜索谷歌但没有成功.谢谢

A. *_*ebb 5

带参数的函数,例如

(defn foo [w x y z] ...)
Run Code Online (Sandbox Code Playgroud)

可以由包含参数的匿名函数包装,例如

#(foo 1 2 3 4)
Run Code Online (Sandbox Code Playgroud)