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) __))
"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 (___