def is_ident_at
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
349# A word character, or a dot before the start of a word.
350def is_ident_at(s: String) -> Bool:
351 match s:
352 case SNil{}:
353 False{}
354 case SCon{+c, rest}:
355 is_ident_at.of(Char.is_eq(c, '.'), c, rest)