def infos

cswap-bend-cli@0.1.0.0 · daemon/fetch.bend:43

import cswap-bend-cli@0.1.0.0/daemon/fetch.bend as Fetch
import Base
import cswap-bend-cli@0.1.0.0/collect.bend as Collect
import cswap-bend-cli@0.1.0.0/daemon/gather.bend as G

43def infos(+es: List<&2, G.Ent>, +active: Maybe<&2, String>) -> List<&2, Collect.Info>:
44  match es:
45    case Nil{}:
46      []
47    case Con{e, t}:
48      info_of(e, active) <> infos(t, active)

Uses (6)

Used by (1)