def without

ezx@1.11.0.0 · src/ledger/render.bend:94

import ezx@1.11.0.0/src/ledger/render.bend as Render
import Base
import ezx@1.11.0.0/src/ledger/manifest.bend as M

94# every dependency but the one named
95def without(ds: List<&2, M.Dep>, +name: String) -> List<&2, M.Dep>:
96  match ds:
97    case []:
98      []
99    case +h <> t:
100      without.put(String.eq(M.dep.name(h), name), h, without(t, name))

Uses (6)

Used by (3)