I don't think there's a way to do it with :keys, but could you use individual key destructuring? I.e;
(let [{x :x/y} {:x/y 20}] x) 20 -Rgds, Adrian. On Thu, May 13, 2010 at 6:47 PM, David McNeil <mcneil.da...@gmail.com> wrote: > Is there a way to destructure namespace qualified map keys? > > I want to do something like this: > > (let [{:keys (y)} {:y 20}]) > > Except with namespace qualified keys: > > (let [{:keys (?)} {:x/y 20}]) > > Thank you. > -David McNeil > -- 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 Note that posts from new members are moderated - please be patient with your first post. 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