fix function-returning-function typo

master
Colin Jones 14 years ago
parent 00f5fa0527
commit df8cd4e301

@ -12,9 +12,9 @@
(= __ (#(Math/pow % 10) __))
"One function can beget another"
(= __ (((fn []
(fn [a b] __ a b)))
4 5))
(= __ ((fn []
((fn [a b] (__ a b))
4 5))))
"Higher-order functions take function arguments"
(= 25 (___

Loading…
Cancel
Save