ahhhhh, I had tried hash-map without apply, but yours actually works. :) Thanks.
On Tue, Dec 7, 2010 at 12:06 AM, Sunil S Nandihalli < [email protected]> wrote: > > > On Tue, Dec 7, 2010 at 10:31 AM, Alex Baranosky < > [email protected]> wrote: > >> Way I have > > > > >> (apply hash-map [:a 1:b 2]) > > > > >> and I want to convert it to {:a 1 :b 2} >> >> What's the idiomatic way to do this in Clojure? >> >> Thanks for the help, >> Alex >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected]<clojure%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en > > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected]<clojure%[email protected]> > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
