Law.any_item: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/laws/law.bend as Law Lines 106-112 of bolt@1.27.0.0/src/rules/laws/law.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&start_line=106&end_line=112 import Base import bolt@1.27.0.0/src/lazy/lazy.bend as Lazy import bolt@1.27.0.0/src/rules/imports.bend as Imports # a type's constructors: is one of them reached? def any_item(ns: List<&2, String>, +cl: List<&2, String>, +pp: String) -> Bool: match ns: case Nil{}: False{} case Con{name, rest}: Lazy.or_else(Imports.has(cl, key(pp, name)), _u => any_item(rest, cl, pp)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/lazy/lazy.bend&name=or_else https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/imports.bend&name=has https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&name=key