On Mon, Jan 11, 2021 at 05:44:41AM -0800, Matt Wette wrote: > Hi All, > > I'm going through the (sxml xpath) low-level routines to try to get a > solid understanding of what they do. I just can't come up with an example > to show how node-reduce and node-join differ. If someone could provide > such an example I would really appreciate it. Takers? > > My end goal is to write up a cookbook type note to show peeps how to use it. OK, I'll bite. But slowly. I'm not sure I'll reach to the end, but have always been curious wrt the more interesting parts of SX... CAVEAT: the word "combinator" alone makes my head spin. I know what it is, when I read the definition slowly. But reading code written in this style is still a bit challenging. So it's quite possible that someone else beats me to it. That's fine -- I'll eagerly learn from her/his answers :) For a start, I'm reading [1], where Oleg Kiselyov and Kirill Lisovski actually show some usage examples for both of the above functions. Next, I'll actually try to play with them. Might take me a couple of days. (After having no customers for a while, a couple of them arrived at the same time. They always do, sigh, but I still love them ;-) Cheers [1] http://okmij.org/ftp/papers/SXs-talk.pdf - t