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]] + __)))