def cascade.pick
import ezx@1.11.0.0/src/ws/moved.bend as Movedimport Base
267# the moves once a round is known to change them or not; the rounds after it
268# arrive as a thunk, so the rounds stop where the moves do
269def cascade.pick(same: Bool, ms: List<&2, Shift>, rest: Unit -> List<&2, Shift>) -> List<&2, Shift>:
270 match same:
271 case True{}:
272 ms
273 case False{}:
274 rest(Unit{})