FanOut.run: def of bend-lint-pack@0.1.1.0 Import: import bend-lint-pack@0.1.1.0/graph/fan_out.bend as FanOut Lines 55-61 of bend-lint-pack@0.1.1.0/graph/fan_out.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-pack@0.1.1.0/graph/fan_out.bend&start_line=55&end_line=61 import Base import bend-lint-pack@0.1.1.0/vendor/lint.bend as Lint import bend-lint-pack@0.1.1.0/common.bend as Common def run(input: Lint.Input) -> IO(List<&2, Lint.Diag>): match input: case Lint.Input{+sources, +options}: do IO>: g : Common.Graph <- Lint.fold_facts(~Common.Graph, ~Common.Graph.collect, Common.Graph.empty()) p : Common.Prog <- Common.Prog.of(sources, g) return verdict(p, Lint.option_number(options, "max", 10), Common.Scope.of(sources, options)) Uses (15): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Graph https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Graph.collect https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Graph.empty https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Prog https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Prog.of https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/common.bend&name=Scope.of https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/graph/fan_out.bend&name=verdict https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=Diag https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=Input https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=fold_facts https://jend.leeeet.dev/definition.txt?path=bend-lint-pack@0.1.1.0/vendor/lint.bend&name=option_number