3 ms·
Raku can do this with Phasers: https://docs.raku.org/language/phasers https://docs.raku.org/language/phasers and last/next/redo: https://docs.raku.org/language/
by klibertp 2y ago
Raku can do this with Phasers: https://docs.raku.org/language/phasers https://docs.raku.org/language/phasers and last/next/redo: https://docs.raku.org/language/phasers https://docs.raku.org/language/phasers
Though, you still need all that to be nested inside the loop (a closure, more generally.)