3 ms·
You do it in a different language that isn't haskel or ml and show me the result, then we can judge. You'd btw probably write it as. (->> (range) (ma
by j-pb 11y ago
You do it in a different language that isn't haskel or ml and show me the result, then we can judge.
You'd btw probably write it as.
(->> (range)
(map #(repeat % (odd? %)))
(apply concat)
(take 1000)
If you want it more readable.