Plan.ledger.note: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/doctor/plan.bend as Plan Lines 153-161 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=153&end_line=161 import Base import ezx@1.11.0.0/src/doctor/world.bend as DW import ezx@1.11.0.0/src/ledger/manifest.bend as M # what the ledger turned out to be def ledger.note(ledger: M.Read) -> Note: match ledger: case M.Bad{why}: Note{True{}, DW.toml() ++ ": " ++ why} case M.Good{m}: M.Manifest{n, e, _b, _h, _pa, _pv, ds, _ts} = m Note{False{}, DW.toml() ++ ": " ++ n ++ ", entry " ++ e ++ ", " ++ plural(List.length(&2, M.Dep, ds), "dependency", "dependencies")} Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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.append 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=plural https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/doctor/world.bend&name=toml https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Dep https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Manifest https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Read