def chars_ok
import cswap-bend-cli@0.1.0.0/profile.bend as Profileimport Base
408def chars_ok(+s: String) -> Bool:
409 match s:
410 case SNil{}:
411 True{}
412 case SCon{c, t}:
413 (Char.is_alpha(c) || Char.is_digit(c) || Char.is_eq(c, '-') || Char.is_eq(c, '_')) && chars_ok(t)