Merge pull request #10 from latacora/revert-3-01_equalities

Revert "Equalities Clj Completed"
This commit is contained in:
pfarwick-latacora 2021-06-15 16:58:08 -05:00 committed by GitHub
commit a6b2c04394
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,38 +3,37 @@
(meditations
"We shall contemplate truth by testing reality, via equality"
(= true true)
(= __ true)
"To understand reality, we must compare our expectations against reality"
(= 2 (+ 1 1))
(= __ (+ 1 1))
"You can test equality of many things"
(= (+ 3 4) 7 (+ 2 5))
(= (+ 3 4) 7 (+ 2 __))
"Some things may appear different, but be the same"
(= true (= 2 2/1))
(= __ (= 2 2/1))
"You cannot generally float to heavens of integers"
(= false (= 2 2.0))
(= __ (= 2 2.0))
"But a looser equality is also possible"
(= true (== 2.0 2))
(= __ (== 2.0 2))
"Something is not equal to nothing"
(= true (not (= 1 nil)))
(= __ (not (= 1 nil)))
"Strings, and keywords, and symbols: oh my!"
(= false (= "hello" :hello 'hello))
(= __ (= "hello" :hello 'hello))
"Make a keyword with your keyboard"
(= :hello (keyword :hello))
(= :hello (keyword __))
"Symbolism is all around us"
(= 'hello (symbol 'hello))
(= 'hello (symbol __))
"What could be equivalent to nothing?"
(= nil nil)
(= __ nil)
"When things cannot be equal, they must be different"
(not= :fill-in-the-blank 345)
)
(not= :fill-in-the-blank __))