Shadow.shadow2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/shadow.bend as Shadow Lines 114-119 of cswap-bend-cli@0.1.0.0/daemon/shadow.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&start_line=114&end_line=119 import Base import cswap-bend-cli@0.1.0.0/json.bend as Json import cswap-bend-cli@0.1.0.0/daemon/tick.bend as Tk def shadow2(+ts: String, +nx: Tk.Next) -> Step: match nx: case Tk.NDone{o}: step_of(ts, o, last_event(out_events(o), Json.JNull{}), out_events(o)) case Tk.NAct{o, c, d}: step_of(ts, o, decision_event(ts, c, d), List.append(&2, Json.Json, out_events(o), [decision_event(ts, c, d)])) Uses (10): 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=String https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=Step https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=decision_event https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=last_event https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=out_events https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadow.bend&name=step_of https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/tick.bend&name=Next https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/json.bend&name=Json