Re: Destructuring namespace qualified map keys

2010-05-13 Thread David McNeil
> (let [{x :x/y} {:x/y 20}] x) > 20 That will work. 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 pat

Re: Destructuring namespace qualified map keys

2010-05-13 Thread Adrian Cuthbertson
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 wrote: > Is there a way to destructure namespace qualified map keys? > > I want to do something like