Make if-not example clearer, fix the answer keys

I felt the example wasn't very clear as the conditional returned the
quoted form of `doom` when it evaluated to true or false. This way the
user needs to find a value that satisfies the if-not conditional so it
returns `doom` and not `more-doom`.
This commit is contained in:
Attila Domokos 2013-11-22 13:52:20 -06:00 committed by Colin Jones
parent 0cf4cd3121
commit 68dcde939e
2 changed files with 4 additions and 4 deletions

View File

@ -73,7 +73,7 @@
nil
:glory
4 6 :your-road
'doom 0
1
:cocked-pistol
:say-what?]}]
@ -208,5 +208,5 @@
'((0 1 2) (3 4))
5
:hello
(6 :this :are)
(6 :these :are)
]}]]

View File

@ -33,9 +33,9 @@
:else __)))
"Or your fate may be sealed"
(= __ (if-not (zero? __)
(= 'doom (if-not (zero? __)
'doom
'doom))
'more-doom))
"In case of emergency, sound the alarms"
(= :sirens