def owned_marker_steps

bendvy-ecs-core@0.1.0.4 · machine.bend:223

import bendvy-ecs-core@0.1.0.4/machine.bend as Machine
import Base

223def owned_marker_steps(~W: Type,~H: Type,steps: List<&1,(H -> W -> H & W)>,owners: H,world: W) -> H & W:
224  match steps:
225    case Nil{}: (owners,world)
226    case Con{step,rest}: marker_next(~W,~H,h => w => owned_marker_steps(~W,~H,rest,h,w),step(owners,world))

Uses (4)

Used by (1)