Hi Randall,

Am 05.12.2008 um 23:54 schrieb Randall R Schulz:
However, I would like to be able to examine the tree in the locality of
the current traversal point through path or position specifications.
This approach is commonly used in describing algorithms about logical
formulas (which are inherently tree-structured). If you're not familiar with the notion, these paths / positions are directly analogous to file
system path names, except that one uses integers to label the arcs,
said integers being ordinals in the child sequence of a given node.

I had the same problem some weeks ago and posted a half-baked
solution to the list.

http://groups.google.com/group/clojure/browse_thread/thread/bfd6539ec367a95b/51e28ee607790496?lnk=gst&q=goto-by#51e28ee607790496

However the interest was very low. So I worked on the issue and
the attached patch is what I came up with. For my purposes it works
pretty well. Although I'm not sure it does what you need.

Hope this helps.

Sincerely
Meikel

Attachment: walk-along.clj
Description: Binary data


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to