So, I started implementing my weird Lisp dialect with functions that can return several times.
It sounds like generators or observables, but it’s actually more like the many-worlds interpretation of quantum mechanics.
When a function returns multiple times, the caller branches into alternate timelines.
If a collapse of the wave function is desired, you would naturally use a “collapse” expression for that.
Not sure what it’s good for yet, but I think it may offer some interesting powers.