def fetchable.cons

cswap-bend-cli@0.1.0.0 · collectrun.bend:112

import cswap-bend-cli@0.1.0.0/collectrun.bend as Collectrun
import Base
import cswap-bend-cli@0.1.0.0/ustore.bend as Ustore

112def fetchable.cons(ok: Bool, +id: Ustore.Id, rest: List<&2, Ustore.Id>) -> List<&2, Ustore.Id>:
113  match ok:
114    case True{}:
115      id <> rest
116    case False{}:
117      rest

Uses (3)

Used by (1)