From 075ccc1890258c79d757ad463bd7c8b6749fe880 Mon Sep 17 00:00:00 2001 From: David Kinzer Date: Wed, 22 Jan 2014 13:28:17 -0500 Subject: [PATCH] Change order of equality question. Move introduciton of (not=) form to a position before the "Something is not equal to nothing" koan, in order to reinforce its use case. --- src/koans/01_equalities.clj | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/koans/01_equalities.clj b/src/koans/01_equalities.clj index aead9f8..ab85837 100644 --- a/src/koans/01_equalities.clj +++ b/src/koans/01_equalities.clj @@ -17,8 +17,11 @@ "But a looser equality is also possible" (= __ (== 2.0 2)) + "When things cannot be equal, they must be different" + (not= :fill-in-the-blank __) + "Something is not equal to nothing" - (= __ (not (= 1 nil))) + (= __ (not= 1 nil)) "Strings, and keywords, and symbols: oh my!" (= __ (= "foo" :foo 'foo)) @@ -27,7 +30,4 @@ (= :foo (keyword __)) "Symbolism is all around us" - (= 'foo (symbol __)) - - "When things cannot be equal, they must be different" - (not= :fill-in-the-blank __)) + (= 'foo (symbol __)))