In Feb 1, 2:32 am, e wrote:
> I don't understand this: (def z (zip/zipper rest rest cons t))
>From the API docs on zipper:
(zipper branch? children make-node root)
The branch? predicate is rest, because if a node has children, then
rest will not be nil, and therefore true.
The children pr
I don't understand this: (def z (zip/zipper rest rest cons t))
Also, it didn't make sense why down arbitrarily brought you to the left
child. Why wouldn't you have to say, "down-left"?
Thanks.
On Sat, Jan 31, 2009 at 10:03 AM, James Reeves
wrote:
>
> On Jan 31, 3:06 am, Jeffrey Straszheim
> w
That seems simple enough. Thanks.
On Jan 31, 10:03 am, James Reeves wrote:
> On Jan 31, 3:06 am, Jeffrey Straszheim
> wrote:
>
> > Does anyone know of a gentle introduction to the Zipper stuff, and how
> > it is used in Clojure?
>
> My understanding of zippers is that they are a way of efficie
On Jan 31, 3:06 am, Jeffrey Straszheim
wrote:
> Does anyone know of a gentle introduction to the Zipper stuff, and how
> it is used in Clojure?
My understanding of zippers is that they are a way of efficiently
navigating a tree data structure in a functional manner. So if we have
the tree:
Does anyone know of a gentle introduction to the Zipper stuff, and how
it is used in Clojure?
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to c