Shadowcli.split: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend as Shadowcli Lines 74-80 of cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend&start_line=74&end_line=80 import Base # `pend`: the previous argument was --shadow-log, so this one is its value. def split(+xs: List<&2, String>, +pend: Bool) -> Split: match xs: case Nil{}: Split{False{}, None{}, []} case Con{a, t}: pick(pend, String.eq(a, "--shadow"), String.eq(a, "--shadow-log"), a, split(t, next_pend(pend, String.eq(a, "--shadow-log")))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend&name=Split https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend&name=next_pend https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/shadowcli.bend&name=pick