def decide.co

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

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

942# the checkout answered, still to ask, or not to be had
943def decide.co(checkout: Co, +world: TW.World) -> Verdict:
944  match checkout:
945    case Kept{_t, _l}:
946      decide.led(led(world), world)
947    case Laid{_fs}:
948      decide.led(led(world), world)
949    case CoWait{as, us}:
950      Pending{as, us}
951    case CoNo{why}:
952      Stop{why}

Uses (5)

Used by (3)