def unknown.go

near-v-framework@0.4.0.0 · domain/architecture/environment/agreement/ops.bend:48

import near-v-framework@0.4.0.0/domain/architecture/environment/agreement/ops.bend as Ops
import Base
import near-v-framework@0.4.0.0/domain/architecture/environment/agreement/type.bend as G

48# ---- the identities in use ----
49def unknown.go(ids: List<&2, String>, +xs: List<&2, G.Person>) -> List<&2, String>:
50  match ids:
51    case []:
52      []
53    case +id <> rest:
54      keep_if(String.is_empty(person_of.go(xs, id)), id, unknown.go(rest, xs))

Uses (6)

Used by (1)