BangAfterFork.forks: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend as BangAfterFork Lines 55-60 of bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend&start_line=55&end_line=60 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint import bend-lint-api@0.2.0.0/shared/sets.bend as Sets # Whether `nodes` fork on the host when they run: a call among them or under them, made without `!`, is of a # definition under which a parallel let runs. def forks(nodes: List<&2, Lint.Node>, program: Program) -> Bool: match program: case Program{defs, under, bangs}: Sets.has_any(Lint.visit(~List<&2, U32>, ~String, ~host.visit, bangs, nodes), under, False{}) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Node https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=visit https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/sets.bend&name=has_any https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend&name=Program https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend&name=host.visit