def has_tab
import bolt@1.27.0.0/src/rules/style/space.bend as Spaceimport Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
16# is there a tab among the chars?
17def has_tab(cs: List<&2, Char>) -> Bool:
18 match cs:
19 case Nil{}:
20 False{}
21 case Con{c, t}:
22 Lazy.or_else(Char.is_eq(c, '\t'), _u => has_tab(t))