def owned_marker_steps

bendvy-ecs-core@0.1.0.3 · machine.bend:178

import bendvy-ecs-core@0.1.0.3/machine.bend as Machine
import 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))

Uses (4)

Used by (1)