fix function-returning-function typo

This commit is contained in:
Colin Jones 2010-05-26 20:54:29 -05:00
parent 00f5fa0527
commit df8cd4e301

View File

@ -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 (___