Clarify equalities a bit
This commit is contained in:
@@ -6,16 +6,16 @@
|
||||
(= __ (+ 1 1))
|
||||
|
||||
"You can test equality of many things"
|
||||
(= (+ 3 4) __ (+ 2 __))
|
||||
(= (+ 3 4) 7 (+ 2 __))
|
||||
|
||||
"Some things may appear different, but be the same"
|
||||
(= 2 2/1 __)
|
||||
(= __ (= 2 2/1))
|
||||
|
||||
"You cannot generally float to heavens of integers"
|
||||
(= __ (= 2 2.0))
|
||||
|
||||
"But a looser equality is also possible"
|
||||
(== 2.0 2 __)
|
||||
(= __ (== 2.0 2))
|
||||
|
||||
"When things cannot be equal, they must be different"
|
||||
(not= :fill-in-the-blank __))
|
||||
|
Reference in New Issue
Block a user