def decide.loc

ezx@1.11.0.0 · src/tool/plan.bend:954

import ezx@1.11.0.0/src/tool/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/tool/world.bend as TW

954# what git says of a path, still to ask, or not to be had
955def decide.loc(spot: Loc, +world: TW.World) -> Verdict:
956  match spot:
957    case Loc{_a, _t, _h, _ok, _s}:
958      decide.co(co(world), world)
959    case LocWait{ask}:
960      Pending{[ask], []}
961    case LocNo{why}:
962      Stop{why}

Uses (6)

Used by (1)