From 5e1fe2f23a2b9121891ff06160a6bf08bc4577ce Mon Sep 17 00:00:00 2001 From: Doug South Date: Fri, 23 Sep 2011 12:59:29 -0400 Subject: [PATCH] More idiomatic keywords --- src/koans/conditionals.clj | 4 ++-- src/path_to_answer_sheet.clj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/koans/conditionals.clj b/src/koans/conditionals.clj index 05468a3..da8b707 100644 --- a/src/koans/conditionals.clj +++ b/src/koans/conditionals.clj @@ -28,8 +28,8 @@ "You may have a multitude of possible paths" (let [x 5] - (= :your_road (cond (= x __) :road_not_taken - (= x __) :another_road_not_taken + (= :your-road (cond (= x __) :road-not-taken + (= x __) :another-road-not-taken :else __))) "Or your fate may be sealed" diff --git a/src/path_to_answer_sheet.clj b/src/path_to_answer_sheet.clj index 9a38feb..da986c8 100644 --- a/src/path_to_answer_sheet.clj +++ b/src/path_to_answer_sheet.clj @@ -72,7 +72,7 @@ [] nil :glory - 4 6 :your_road + 4 6 :your-road ''doom 0 :cocked-pistol :say-what?]}