This first video serves as an introduction to the koans and our use of the Light Table IDE created by Chris Granger. Then we proceed through solving the first koans source file, covering Equalities.
Here is the 01_equalities.clj source code:
(meditations "We shall contemplate truth by testing reality, via equality." (= __ true) "To understand reality, we must compare our expectations against reality." (= __ (+ 1 1)) "You can test equality of many things" (= (+ 3 4) __ (+ 2 __)) "Some things may appear different, but be the same" (= 2 2/1 __) "You cannot generally float to heavens of integers" (= __ (= 2 2.0)) "But a looser equality is also possible" (== 2.0 2 __) "When things cannot be equal, they must be different" (not= :fill-in-the-blank __))
This screencast tutorial helps you learn the Clojure programming language. Experience the joy of Clojure in the Light Table IDE as we tour through the Clojure Koans, taking you all the way from Beginner to Intermediate to Advanced.