From df8cd4e301db8da3ac6b9b4fddf089a41b185e91 Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Wed, 26 May 2010 20:54:29 -0500 Subject: [PATCH] fix function-returning-function typo --- src/koans/about_functions.clj | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/koans/about_functions.clj b/src/koans/about_functions.clj index 82774b5..3e6700b 100644 --- a/src/koans/about_functions.clj +++ b/src/koans/about_functions.clj @@ -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 (___