fork download
  1. (defn f [s]
  2. (->> (drop-while (fn [[a b]] (not-every? not (map = a b)))
  3. (repeatedly #(list (seq s) (shuffle (seq s)))))
  4. first
  5. second
  6. (apply str)))
  7.  
  8. (println (f "hoge"))
Success #stdin #stdout 1.5s 389120KB
stdin
Standard input is empty
stdout
ehog