Config.dedupe: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/daemon/config.bend as Config Lines 153-158 of cswap-bend-cli@0.1.0.0/daemon/config.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&start_line=153&end_line=158 import Base def dedupe(+xs: List<&2, String>, +seen: List<&2, String>) -> List<&2, String>: match xs: case Nil{}: [] case Con{h, t}: out_name(keep_name(h, seen), h, dedupe(t, seen_after(keep_name(h, seen), h, seen))) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/config.bend&name=keep_name https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=out_name https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/daemon/config.bend&name=seen_after