sorry... the impetus behind the question was
node. I was trying to wrap my mind around a solution I thought should be pretty slick but that I couldn't make work in practice.
Thanks to everyone who helped me get my mind around this.
who's update I didn't consult in time.