Role.lawful: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/role.bend as Role Lines 126-133 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=126&end_line=133 import Base # the roots of the law files: every LAWS.bend def lawful(fs: List<&2, Fact>) -> List<&2, String>: match fs: case Nil{}: Nil{} case Con{Fact{norm, _deps, +named, _entry}, rest}: +more = lawful(rest) Bool.pick(List<&2, String>, is_laws(named), norm <> more, more) Uses (5): 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=is_laws