sorry... the impetus behind the question was
this 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.
Apologies to
graff who's update I didn't consult in time.