def has_special

bend-toon-codec@0.1.0.0 · src/text.bend:97

import bend-toon-codec@0.1.0.0/src/text.bend as Text
import Base

97def has_special(+s: String, +d: U32) -> Bool:
98  match s:
99    case SNil{}:
100      False{}
101    case SCon{Chr{c}, t}:
102      special(c, d) || has_special(t, d)

Uses (6)

Used by (1)