|
|
|
|
|
by j-pb
3859 days ago
|
|
I find i -> i % 2 == 0), still less readable than even?. But let's step up the game a bit.
Let's produce a sequence of the form [true false false true true true false false false false ...] of exact length 1000. (take 1000 (mapcat (fn [i] (repeat i (odd? i))) (range)))
|
|