def head_passes
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
271def head_passes(~test: @+c: Char -> Bool, s: String) -> Bool:
272 match s:
273 case SNil{}:
274 False{}
275 case SCon{c, rest}:
276 test(c)
import bend-lint-rules@0.2.0.0/layout/format.bend as Formatimport Base
271def head_passes(~test: @+c: Char -> Bool, s: String) -> Bool:
272 match s:
273 case SNil{}:
274 False{}
275 case SCon{c, rest}:
276 test(c)