Role.marks.of: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/role.bend as Role Lines 153-167 of bolt@1.27.0.0/src/role.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/role.bend&start_line=153&end_line=167 import Base import bolt@1.27.0.0/src/rules/imports.bend as Imports # the marks of the files the laws reach and the code does not, in the run's # order: a law file when a LAWS.bend reaches it def marks.of( fs: List<&2, Fact>, +laws: List<&2, String>, +lawful: List<&2, String>, +code: List<&2, String> ) -> List<&2, Mark>: match fs: case Nil{}: Nil{} case Con{Fact{+norm, _deps, +named, _entry}, rest}: +more = marks.of(rest, laws, lawful, code) Bool.pick(List<&2, Mark>, Bool.and(Imports.has(laws, norm), Bool.not(Imports.has(code, norm))), Mark{norm, role.of(named, reached(Imports.has(lawful, norm)))} <> more, more) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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/role.bend&name=Fact https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=Mark https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=reached https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/role.bend&name=role.of https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/imports.bend&name=has