On May 4, 8:05 am, Drew Raines <aarai...@gmail.com> wrote: > user> (let [test-str "foo=1;bar=2;baz=3"] > (reduce conj {} > (map #(apply hash-map (seq (.split % "="))) > (.split test-str ";"))))
Whoops, that (seq) is a debugging artifact. You can remove that: (let [test-str "foo=1;bar=2;baz=3"] (reduce conj {} (map #(apply hash-map (.split % "=")) (.split test-str ";")))) -Drew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---