This commit is contained in:
Hannes Johansson 2013-03-15 15:39:55 -07:00
commit c5b7c0d30d

View file

@ -17,7 +17,7 @@
(for [index __ :when (odd? index)] (for [index __ :when (odd? index)]
index)) index))
"Combinations these transformations is trivial" "Combinations of these transformations is trivial"
(= '(1 9 25 49 81) (= '(1 9 25 49 81)
(map (fn [index] (* index index)) (map (fn [index] (* index index))
(filter odd? (range 10))) (filter odd? (range 10)))