From 4d4cb3b93a82c2681c808f7017deefdd7f67743c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Honor=C3=A9?= Date: Fri, 25 Mar 2016 18:12:04 +0000 Subject: [PATCH] First encounter with `nil` In 02_strings.clj, the answer to (= __ (string/index-of "hello world" "bob")) is `nil` but `nil` is not obvious for somebody who never saw it before. This step introduces it. --- src/koans/01_equalities.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/koans/01_equalities.clj b/src/koans/01_equalities.clj index 8f76176..1a07f71 100644 --- a/src/koans/01_equalities.clj +++ b/src/koans/01_equalities.clj @@ -32,5 +32,8 @@ "Symbolism is all around us" (= 'hello (symbol __)) + "Introducing nil" + (= __ nil) + "When things cannot be equal, they must be different" (not= :fill-in-the-blank __))