I'm a bit unsure as to the best way to solve this. Assuming I have the
following tree:
{:parent1
{:relationship1
{:child1 1}
{:child2 2}}
{:relationship2
{child3 3}}
{:_meta}}
I want to get:
[:parent1 :relationship1 :child1]
[:parent1 :relationship1 :child2]
[:parent1 :relationship2 :child3]
How do I got about getting this? Notice how I also want to filter out
all :_meta nodes....what I want is to get a sequence of vectors where
each vector consists of all the lowest child keys along with the path
required to get to that key.
Thanks for the help,
Timothy
--
“One of the main causes of the fall of the Roman Empire was
that–lacking zero–they had no way to indicate successful termination
of their C programs.”
(Robert Firth)
--
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