Named.bare: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/named.bend as Named Lines 83-90 of ezx@1.11.0.0/src/ez/named.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/named.bend&start_line=83&end_line=90 import Base import ezx@1.11.0.0/src/ez/target.bend as Tgt # a TOML bare key: at least one char, each a letter, a digit, `-` or `_`. Only # such a name can stand in `[deps.]` unquoted. def bare(text: String) -> Bool: match text: case SNil{}: False{} case SCon{+h, t}: bare.step(Tgt.plain.at(h), _u => bare.rest(t)) Uses (5): 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/named.bend&name=bare.rest https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/named.bend&name=bare.step https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/target.bend&name=plain.at