Ops.serves_among: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend as Ops Lines 143-148 of near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/ops.bend&start_line=143&end_line=148 import Base import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend as ND def serves_among(xs: List<&2, ND.Serve>, +instances: List<&2, String>) -> Bool: match xs: case []: True{} case s <> rest: List.contains(~String, ~String.eq, instances, serve_container(s)) && serves_among(rest, instances) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.contains 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/system/deployment/nix_darwin/ops.bend&name=serve_container https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/type.bend&name=Serve