fix bug
This commit is contained in:
parent
d1eb5bdaa3
commit
1e799e3f5a
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
||||||
|
|
||||||
"Functions can also take other functions as input"
|
"Functions can also take other functions as input"
|
||||||
(= 20 ((fn [f] (f 4 5))
|
(= 20 ((fn [f] (f 4 5))
|
||||||
#(+ %1 %2)))
|
#(* %1 %2)))
|
||||||
|
|
||||||
"Higher-order functions take function arguments"
|
"Higher-order functions take function arguments"
|
||||||
(= 25 ((fn [f] (f 5))
|
(= 25 ((fn [f] (f 5))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue