def Graph.collect
import bend-lint-pack@0.1.1.0/common.bend as Commonimport 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)