Switch.drop_slot_str: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/switch.bend as Switch Lines 98-103 of cswap-bend-cli@0.1.0.0/switch.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/switch.bend&start_line=98&end_line=103 import Base import cswap-bend-cli@0.1.0.0/swbase.bend as B def drop_slot_str(+x: String, +xs: List<&2, String>) -> List<&2, String>: match xs: case Nil{}: [] case Con{h, t}: B.sel_ls(String.eq(h, x), drop_slot_str(x, t), h <> drop_slot_str(x, t)) Uses (4): 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/swbase.bend&name=sel_ls