Re: New library 'redis-clojure': Feedback and questions

2009-06-05 Thread kyle smith
I just took a quick look, but string-to-seq can be defined as (re-seq #"\S+" string), and similarly for string-to-map. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: New library 'redis-clojure': Feedback and questions

2009-06-05 Thread J. McConnell
On Fri, Jun 5, 2009 at 2:09 PM, Ragnar Dahlén wrote: > > This turned out to be problematic since a couple of the commands have > the same names as some clojure.core functions, most notably get and > set. > > I solved this by checking if *ns* already contained a mapping for the > name, and if so,