diff --git a/koans/about_conditionals.clj b/koans/about_conditionals.clj new file mode 100644 index 0000000..7dbe6b6 --- /dev/null +++ b/koans/about_conditionals.clj @@ -0,0 +1,10 @@ +(meditations + "Your will face many decisions" + (= __ (if (false? (= 4 5)) :a :b)) + + "Some of them leave you no alternative" + (= __ (if (> 4 3) [])) + + "And in such a case you may have nothing" + (= nil (if (nil? __) [:a :b :c]))) + diff --git a/koans/path_to_enlightenment.clj b/koans/path_to_enlightenment.clj index 745524a..67dfb52 100644 --- a/koans/path_to_enlightenment.clj +++ b/koans/path_to_enlightenment.clj @@ -17,4 +17,5 @@ (load "about_sets") (load "about_maps") (load "about_functions") +(load "about_conditionals") (println "You have acheived clojure enlightenment. Namaste.")