def clone.ran
import ezx@1.11.0.0/src/lock/run.bend as Runimport 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)