Ops.granted.go: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/environment/agreement/ops.bend as Ops Lines 66-72 of near-v-framework@0.4.0.0/domain/architecture/environment/agreement/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/environment/agreement/ops.bend&start_line=66&end_line=72 import Base import near-v-framework@0.4.0.0/domain/architecture/environment/agreement/type.bend as G # ---- grants ---- def granted.go(xs: List<&2, G.Grant>, +person: String, +scope: String) -> List<&2, String>: match xs: case []: [] case G.Grant{+p, +sc, acts} <> rest: Bool.pick(List<&2, String>, String.eq(person, p) && String.eq(scope, sc), acts, granted.go(rest, person, scope)) Uses (6): 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.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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/environment/agreement/type.bend&name=Grant