Repeating Digits in Clojure
Sep 20, 2025 · 2 min read · My son asked me if I could make the computer double numbers, like
2 4 6 → 22 44 66
I started with a really ugly solution:
(map
(fn [x]
(parse-long (clojure.string/join
""
[(str x) (str x)])))
[2 4 6])
;;=> (22 4...