def named
import bolt@1.27.0.0/src/noqa.bend as Noqaimport Base
import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy
219# the codes include this one
220def named(cs: List<&2, String>, +code: String) -> Bool:
221 match cs:
222 case Nil{}:
223 False{}
224 case Con{c, rest}:
225 Lazy.or_else(String.eq(c, code), _u => named(rest, code))