RosettaCodeData/Task/Rep-string/Clojure/rep-string-2.clj

14 lines
376 B
Clojure

(def test-strings ["1001110011"
"1110111011"
"0010010010"
"1010101010"
"1111111111"
"0100101101"
"0100100"
"101"
"11"
"00"
"1"])
(map (juxt identity rep-string) test-strings)