You've already gotten your answer, but since Alex mentioned postwalk, and the 
problem looks like a flattening problem, I thought the following post might be 
of interest:

https://mwfogleman.github.io/posts/20-12-2014-flatcat.html


Erik. 
-- 
i farta

> Den 8. mar. 2017 kl. 18.38 skrev piastkra...@gmail.com:
> 
> 
> Given this: 
> 
> {:positive :true {30 {4 {50 43, 1000 32}, 6 {40 12, 90 2}, 8 {777 23, 9090 
> 1}}}
> 
> I'd like a series of arrays that I can feed into (reduce) so I can easily sum 
> them:
> 
> [ 30 4 50 43 ]
> 
> [ 30 4 1000 32 ]
> 
> [ 30 6 40 12 ]
> 
> [ 30 6 90 2 ]
> 
> [ 30 8 777 23 ]
> 
> [ 30 8 9090 1 ]
> 
> I've been trying to work this out using "walk" recursively, but then I 
> wondered if perhaps I am missing something obvious? Does Clojure offer a 
> straightforward way to do this?
> 
> 
> 
> 
> 
> -- 
> 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.

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