From ada3d8541f048847ceaf0b89cd72b87c3db0a887 Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Sat, 13 Aug 2011 12:20:39 -0500 Subject: [PATCH] Fix non-failing koan, fixes #14 --- src/koans/higher_order_functions.clj | 2 +- src/path_to_answer_sheet.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/koans/higher_order_functions.clj b/src/koans/higher_order_functions.clj index fc9ea67..0d53b94 100644 --- a/src/koans/higher_order_functions.clj +++ b/src/koans/higher_order_functions.clj @@ -12,7 +12,7 @@ (= __ (filter (fn [x] false) '(:anything :goes :here))) "Or very weak" - (= '(:anything :goes :here) (filter (fn [x] __) '(:anything :goes :here))) + (= __ (filter (fn [x] true) '(:anything :goes :here))) "Or somewhere in between" (= [10 20 30] (filter (fn [x] __) [10 20 30 40 50 60 70 80])) diff --git a/src/path_to_answer_sheet.clj b/src/path_to_answer_sheet.clj index 30381c8..9a38feb 100644 --- a/src/path_to_answer_sheet.clj +++ b/src/path_to_answer_sheet.clj @@ -81,7 +81,7 @@ '(* x x) [false false true false false] () - true + [:anything :goes :here] '(< x 31) '(* 10 x) '(< x 4) 24