Base.strip_chars: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/store/base.bend as Base Lines 90-96 of cswap-bend-cli@0.1.0.0/store/base.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&start_line=90&end_line=96 import Base # Drop every char of `drop` from `s`. def strip_chars(+s: String, +drop: String) -> String: match s: case SNil{}: SNil{} case SCon{+c, t}: strip_chars.pick(String.contains(drop, SCon{c, SNil{}}), c, strip_chars(t, drop)) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.contains https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/store/base.bend&name=strip_chars.pick