def Graph.collect

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

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

191# A fold_facts step.
192def Graph.collect(g: Graph, +f: Lint.Fact) -> IO(Graph):
193  do IO<Graph>:
194    v : Lint.View <- Lint.view(f)
195    return Graph.add(g, v)

Uses (8)

Used by (3)