def owned_marker_steps
import bendvy-ecs-core@0.1.0.3/machine.bend as Machineimport Base
178def owned_marker_steps(~W: Type,~H: Type,steps: List<&1,(H -> W -> H & W)>,owners: H,world: W) -> H & W:
179 match steps:
180 case Nil{}: (owners,world)
181 case Con{step,rest}: marker_next(~W,~H,h => w => owned_marker_steps(~W,~H,rest,h,w),step(owners,world))