Add cond; fix typo.

This commit is contained in:
Colin Jones
2010-11-03 20:38:20 -05:00
parent abcd170b34
commit fa90fc7e86
2 changed files with 8 additions and 1 deletions

View File

@@ -17,6 +17,12 @@
:doom
__))
"You may have a multitude of possible paths"
(let [x 5]
(= :your_road (cond (= x __) :road_not_taken
(= x __) :another_road_not_taken
:else __)))
"Or your fate may be sealed"
(= __ (if-not (zero? __)
'doom