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.
master
Pascal Honoré 8 years ago
parent a8fe71e26f
commit 4d4cb3b93a

@ -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 __))

Loading…
Cancel
Save