def word.colon

emerging-eztoml@0.9.0.0 · main.bend:1136

import emerging-eztoml@0.9.0.0/main.bend as EmergingEztoml
import 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))

Uses (5)

Used by (2)