Skip to content

Commit

Permalink
Fix non-failing koan, fixes functional-koans#14
Browse files Browse the repository at this point in the history
  • Loading branch information
trptcolin committed Aug 13, 2011
1 parent 0978ffa commit ada3d85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/koans/higher_order_functions.clj
Expand Up @@ -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]))
Expand Down
2 changes: 1 addition & 1 deletion src/path_to_answer_sheet.clj
Expand Up @@ -81,7 +81,7 @@
'(* x x)
[false false true false false]
()
true
[:anything :goes :here]
'(< x 31)
'(* 10 x) '(< x 4)
24
Expand Down

0 comments on commit ada3d85

Please sign in to comment.