Plan.lib.judge: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/doctor/plan.bend as Plan Lines 370-381 of ezx@1.11.0.0/src/doctor/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/doctor/plan.bend&start_line=370&end_line=381 import Base import ezx@1.11.0.0/src/doctor/world.bend as DW import ezx@1.11.0.0/src/lock/lock.bend as L # the verdict, once what is wanted and what is there are both known def lib.judge( +dir: String, +want: List<&2, String>, +ns: List<&2, L.Name>, have: List<&2, String>, +rs: List<&2, DW.Reply> ) -> Note: +gone = missing(want, have) +bad = names.wrong(ns, rs) lib.said(Bool.and(List.is_empty(&2, String, gone), List.is_empty(&2, String, bad)), dir, List.length(&2, String, want), List.length(&2, L.Name, ns), gone, bad) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.is_empty https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/plan.bend&name=Note https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/plan.bend&name=lib.said https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/plan.bend&name=missing https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/plan.bend&name=names.wrong https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/world.bend&name=Reply https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/lock.bend&name=Name