fix function-returning-function typo
This commit is contained in:
parent
00f5fa0527
commit
df8cd4e301
@ -12,9 +12,9 @@
|
|||||||
(= __ (#(Math/pow % 10) __))
|
(= __ (#(Math/pow % 10) __))
|
||||||
|
|
||||||
"One function can beget another"
|
"One function can beget another"
|
||||||
(= __ (((fn []
|
(= __ ((fn []
|
||||||
(fn [a b] __ a b)))
|
((fn [a b] (__ a b))
|
||||||
4 5))
|
4 5))))
|
||||||
|
|
||||||
"Higher-order functions take function arguments"
|
"Higher-order functions take function arguments"
|
||||||
(= 25 (___
|
(= 25 (___
|
||||||
|
Loading…
Reference in New Issue
Block a user