def Owners.collect

bend-lint-pack@0.1.1.0 · common.bend:54

import bend-lint-pack@0.1.1.0/common.bend as Common
import Base
import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint

54# A fold_facts step: records each fact's owner.
55def Owners.collect(acc: Owners, +f: Lint.Fact) -> IO(Owners):
56  do IO<Owners>:
57    v : Lint.View <- Lint.view(f)
58    return Owners.add(acc, v)

Uses (8)

Used by (2)