clojure.walk is a terrible hack that I wrote and abandoned 2 years
ago. It never should have made it into the Clojure distribution, for
which I apologize. I will campaign for its deletion just as soon as I
find a suitable replacement.
-SS
--
You received this message because you are subscribed
I discussed prewalk and postwalk with a another Clojure user that I am
friends with. He sent me the following, via email, this morning:
I have a workaround/solution for you.I still don't know exactly
why, but the :else clause in walk calls outer on form. This will give
you all sorts of class
Kevin, thank you for your example.
Ok here is what I get:
(prewalk #(doto % prn) [[3 [3]] [3 3]])
[[3 [3]] [3 3]]
[3 [3]]
3
[3]
3
[3 3]
3
3
[[3 [3]] [3 3]]
Thus, it appears that an "element" of my nested vectors isn't just the
values within the vectors, but also stands for the inner vectors as
we
I'm not overly familiar with clojure.walk, but I think you'll find the
output of (prewalk #(doto % prn) [[3 [3]] [3 3]]) very illuminating.
On Fri, Mar 19, 2010 at 2:13 PM, cej38 wrote:
> This post has two parts.
>
> Part 1.
>
> I know that the API is trying to hit the sweet spot on the brevity v