def tally

ezx@1.11.0.0 · src/pub/plan.bend:1016

import ezx@1.11.0.0/src/pub/plan.bend as Plan
import 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))

Uses (8)

Used by (1)