def lib.faults
import ezx@1.11.0.0/src/doctor/plan.bend as Planimport Base
346# what is wrong with the library, each fault in its place
347def lib.faults(gone: List<&2, String>, bad: List<&2, String>) -> String:
348 match gone:
349 case []:
350 String.join(bad, "; ")
351 case _g <> _t:
352 match bad:
353 case []:
354 "lacks " ++ String.join(gone, " ")
355 case _b <> _u:
356 "lacks " ++ String.join(gone, " ") ++ "; " ++ String.join(bad, "; ")