def locked.pick
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport Base
import ezx@1.11.0.0/src/toml/toml.bend as T
import ezx@1.11.0.0/src/lock/lock.bend as L
170# the verdict on a parse, with the answer in hand
171def locked.pick(ok: Bool, why: String, ss: List<&2, T.Sect>) -> Locked:
172 match ok:
173 case True{}:
174 Locked{L.hashes(ss)}
175 case False{}:
176 Unread{why}