Repeating Digits in Clojure
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...
Sep 20, 20252 min read39
