def ports

near-v-framework@0.4.0.0 · domain/architecture/system/deployment/nix_darwin/effects.bend:205

import near-v-framework@0.4.0.0/domain/architecture/system/deployment/nix_darwin/effects.bend as Effects
import Base
import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as X

205# ---- the steps ----
206def ports(xs: List<&2, U32>) -> List<&2, String>:
207  match xs:
208    case []:
209      []
210    case +p <> rest:
211      X.keep_filled(Bool.not(U32.is_eq(p, 0)), U32.show(p), ports(rest))

Uses (7)

Used by (1)