Text.text.marked: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/text.bend as Text Lines 180-187 of ezsys@0.1.0.0/src/text.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/src/text.bend&start_line=180&end_line=187 import Base # whether an open delimiter starts anywhere in the text def text.marked(+open: String, tpl: String) -> Bool: match tpl: case SNil{}: False{} case SCon{+hd, +tl}: text.any(String.starts_with(SCon{hd, tl}, open), _u => text.marked(open, tl)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=ezsys@0.1.0.0/src/text.bend&name=text.any