Rep-string: Difference between revisions
m
→{{header|Clojure}}
Not a robot (talk | contribs) (Add Miranda) |
|||
Line 977:
first-half (subs s 0 (/ len 2))
test-group (take-while seq (iterate butlast first-half))
test-reptd (map
(some #(= (seq s) %) test-reptd)))</syntaxhighlight>
{{out}}
|