def tally
import ezx@1.11.0.0/src/pub/plan.bend as Planimport Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M
import ezx@1.11.0.0/src/pub/world.bend as PW
1016# every probe'standing standing
1017def tally(+world: PW.World, +hub: String, +ds: List<&2, M.Dep>, ps: List<&2, Probe>) -> Tally:
1018 match ps:
1019 case []:
1020 Tally{[], []}
1021 case +h <> t:
1022 tally.put(seen(world, hub, ds, h), h, tally(world, hub, ds, t))