This commit is contained in:
徐国方 2017-03-11 09:43:25 +08:00
parent d1eb5bdaa3
commit 1e799e3f5a

View file

@ -30,7 +30,7 @@
"Functions can also take other functions as input"
(= 20 ((fn [f] (f 4 5))
#(+ %1 %2)))
#(* %1 %2)))
"Higher-order functions take function arguments"
(= 25 ((fn [f] (f 5))