If I do something like a describe-instances call in amazonica, I get a 
typical clojure-y set of data fairly deeply nested data structures
that I have yet to master with respect to traversing  using basic clojure 
operations.

Given a result that basically ends up looking like pages of interleaved 
maps and arrays, what should I be using to pick out
nested key/value information?

{:reservations [{:reservation-id "r-3da23a55",
... pages of output ...
}]}]}]}
user=>

'get-in' won't do it because of the arrays (or PersistentArrayMaps, as the 
case may be).
I was hoping to avoid zippers, but maybe that is the idiomatic way to do 
it, I don't know.

 What's the easy way to traverse these things?  This is a very common data 
pattern in using clojure to access everything from html content to AWS data.
 I just want to pluck out the :instance k/v information in the nested 
morass of data printed at my REPL but I haven't yet found the intuitive and 
idiomatic way to do it.





-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to