如果只有一个参数,那么可以用% 代替%1 defdef可以将一个匿名函数绑定到一个name上。 (def my-add (fn [x y] (+ x y))) defn defn 是def 与fn 的简写。
確定! 回上一頁