def named

bolt@1.27.0.0 · src/noqa.bend:219

import bolt@1.27.0.0/src/noqa.bend as Noqa
import 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))

Uses (5)

Used by (1)