def decide.loc
import ezx@1.11.0.0/src/tool/plan.bend as Planimport 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}