adding about conditionals

This commit is contained in:
Colin Jones 2010-02-10 07:37:22 +08:00 committed by Relevance, Inc.
parent f979300940
commit fe7f46753b
2 changed files with 11 additions and 0 deletions

View File

@ -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])))

View File

@ -17,4 +17,5 @@
(load "about_sets") (load "about_sets")
(load "about_maps") (load "about_maps")
(load "about_functions") (load "about_functions")
(load "about_conditionals")
(println "You have acheived clojure enlightenment. Namaste.") (println "You have acheived clojure enlightenment. Namaste.")