Exercise 01 Equality - MikeyYeahYeah/clojure-koans GitHub Wiki

Chapter 01 - Equalities

  • When using a single =, (= 2 2.0) will be false because 1 is an internet and the other is a float
  • However, if you use ==, (== 2 .0) then this is a mathematical equivalence and will be true

Keywords

Keywords can be created using: - :this - (keyword "this")

Symbols

Symbols can be created using: - 'this - (symbol "this")