Target.seg: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/target.bend as Target Lines 140-147 of ezx@1.11.0.0/src/ez/target.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/target.bend&start_line=140&end_line=147 import Base # one segment of a GitHub shorthand: letters, digits, `-`, `_` and `.`, at # least one of them, and not `.` or `..`, which name a directory def seg(text: String) -> Bool: match text: case SNil{}: False{} case SCon{+h, t}: seg.first(kind(h), t) 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=ezx@1.11.0.0/src/ez/target.bend&name=kind https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=seg.first