Hi All -

I am having a hard time destructuring a nested data structure.

I am starting out with:

{:tag :column,
 :attrs nil,
 :content
 [{:tag :name, :attrs nil, :content ["agecat"]}
  {:tag :value, :attrs nil, :content ["nil"]}
  {:tag :threshold, :attrs nil, :content ["0.05"]}]}

and am looking to get:

{:column "agecat", :value "nil", :threshold "0.05"}

I genearlly 'get' the destructuring and it is very cool, but the
highly nested aspect of this is throwing me off.

Any thoughts would be most appreciated.

Thanks

Bassel

-- 
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

Reply via email to