Role.code: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/role.bend as Role Lines 139-147 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=139&end_line=147 import Base import bolt@1.27.0.0/src/rules/imports.bend as Imports # the roots of the code: every package's main.bend, and every file the laws # do not reach def code(fs: List<&2, Fact>, +laws: List<&2, String>) -> List<&2, String>: match fs: case Nil{}: Nil{} case Con{Fact{+norm, _deps, _named, entry}, rest}: +more = code(rest, laws) Bool.pick(List<&2, String>, Bool.or(entry, Bool.not(Imports.has(laws, norm))), norm <> more, more) Uses (7): 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.or 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/rules/imports.bend&name=has