def outcome.name

ezx@1.11.0.0 · src/add/plan.bend:418

import ezx@1.11.0.0/src/add/plan.bend as Plan
import Base
import ezx@1.11.0.0/src/add/world.bend as A
import ezx@1.11.0.0/src/lock/plan.bend as P

418# the name, once the walk made a package, then the ledger it leaves
419def outcome.name(ok: Bool, fit: Bool, +world: A.World) -> P.Outcome:
420  match ok:
421    case True{}:
422      outcome.fit(fit)
423    case False{}:
424      P.Refused{why(world)}

Uses (5)

Used by (1)