def word.colon
import emerging-eztoml@0.9.0.0/main.bend as EmergingEztomlimport Base
1136# a colon anywhere in the token
1137def word.colon(cs: List<&2, Char>) -> Bool:
1138 match cs:
1139 case []:
1140 False{}
1141 case +c <> t:
1142 word.or(Char.is_eq(c, ':'), word.colon(t))