def lockable.why.pick
import ezx@1.11.0.0/src/lock/plan.bend as Planimport Base
import ezx@1.11.0.0/src/lock/lock.bend as L
492# the reason a lock with names that is not lockable gives
493def lockable.why.pick(ok: Bool, ps: List<&2, L.Pack>) -> String:
494 match ok:
495 case True{}:
496 lockable.why(ps)
497 case False{}:
498 "ez: ez.lock.toml cannot be written: a name, or the hash ez.toml records for it, holds `=`, a quote, a backslash or a newline"