4 ms·
> People wouldn't expecting calling a function may return from the caller. Why? This is essentially the same as the reset/shift pattern in e.g. Scheme - when y
by 0815test 7y ago
> People wouldn't expecting calling a function may return from the caller.
Why? This is essentially the same as the reset/shift pattern in e.g. Scheme - when you call shift from within a reset call, that might cause you to return directly from that. And that is a rather well-behaved pattern which composes quite well, it's nothing like the inherent weirdness of, e.g. call/cc.