def step.of

ezx@1.11.0.0 · src/ws/doctor.bend:284

import ezx@1.11.0.0/src/ws/doctor.bend as Doctor
import Base
import ezx@1.11.0.0/src/doctor/plan.bend as DP
import ezx@1.11.0.0/src/doctor/world.bend as DW

284# the step, once the doctor's own is known: its questions, or this plan
285def step.of(st: DP.Step, back: Back, +world: DW.World) -> DP.Step:
286  match st:
287    case DP.Asking{asks}:
288      DP.Asking{asks}
289    case DP.Run{_pl}:
290      DP.Run{plan(back, world)}

Uses (4)

Used by (1)