From f35e258e7f8a8e2b0bfed398a91c94745d24c0aa Mon Sep 17 00:00:00 2001 From: Colin Jones Date: Tue, 21 Jan 2014 07:42:52 -0600 Subject: [PATCH] Update answer key to reflect renaming --- resources/koans.clj | 4 ++-- src/koans/11_sequence_comprehensions.clj | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/resources/koans.clj b/resources/koans.clj index 671a939..fcf1dc8 100644 --- a/resources/koans.clj +++ b/resources/koans.clj @@ -104,9 +104,9 @@ "___" [(fn [x] x)]}] ["11_sequence_comprehensions" {"__" [[0 1 2 3 4 5] - (* index index) + (* x x) (range 10) - (odd? index) (* index index) + (odd? x) (* x x) [row column] ]}] diff --git a/src/koans/11_sequence_comprehensions.clj b/src/koans/11_sequence_comprehensions.clj index c635dfa..ab03bb0 100644 --- a/src/koans/11_sequence_comprehensions.clj +++ b/src/koans/11_sequence_comprehensions.clj @@ -28,6 +28,6 @@ (= [[:top :left] [:top :middle] [:top :right] [:middle :left] [:middle :middle] [:middle :right] [:bottom :left] [:bottom :middle] [:bottom :right]] - (for [row [:top :middle :bottom] - column [:left :middle :right]] - __))) + (for [row [:top :middle :bottom] + column [:left :middle :right]] + __)))