diff --git a/resources/koans.clj b/resources/koans.clj index ae643a0..c1c6e93 100644 --- a/resources/koans.clj +++ b/resources/koans.clj @@ -61,7 +61,8 @@ 20 10 60 - 15] + 15 + 30] "___" [+ * (fn [f] (f 5)) diff --git a/src/koans/06_functions.clj b/src/koans/06_functions.clj index 1f6d4c3..6be6f16 100644 --- a/src/koans/06_functions.clj +++ b/src/koans/06_functions.clj @@ -19,6 +19,9 @@ "Even anonymous functions may take multiple arguments" (= __ (#(+ %1 %2 %3) 4 5 6)) + "Arguments can also be skipped" + (= __ (#(* 15 %2) 1 2)) + "One function can beget another" (= 9 (((fn [] ___)) 4 5))