Plan.first_pass: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/plan.bend as Plan Lines 107-109 of cswap-bend-cli@0.1.0.0/daemon/plan.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/plan.bend&start_line=107&end_line=109 import Base import cswap-bend-cli@0.1.0.0/policy/types.bend as T import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G # Phase 1: the active account if due, plus at most one due candidate. def first_pass(+es: List<&2, G.Ent>, +us: List<&2, T.Usage>, +active: Maybe<&2, String>, +now: Nat, +cfg: T.Config) -> List<&2, G.Ent>: List.append(&2, G.Ent, active_due(es, us, active, now, cfg), one_of(oldest(due_cands(es, us, active, now, cfg), us, None{}))) Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/gather.bend&name=Ent https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/plan.bend&name=active_due https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/plan.bend&name=due_cands https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/plan.bend&name=oldest https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/plan.bend&name=one_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=Config https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/policy/types.bend&name=Usage