def clone.ran

ezx@1.11.0.0 · src/lock/run.bend:169

import ezx@1.11.0.0/src/lock/run.bend as Run
import Base
import ezx@1.11.0.0/src/lock/world.bend as W

169# a command of a clone that worked goes on with the clone; one that failed
170# ends it
171def clone.ran(ok: Bool, +work: String, +why: String, go: Unit -> IO(W.Answer)) -> IO(W.Answer):
172  match ok:
173    case True{}:
174      go(Unit{})
175    case False{}:
176      clone.miss(work, why)

Uses (6)

Used by (1)