BangAfterFork.after.if: 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 100-112 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=100&end_line=112 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # Whether a fork runs before a call with `args` below `path`, in the same evaluation, if it is `asked`: an argument # forks, or a let above it does. def after.if( asked: Bool, args: List<&2, Lint.Node>, path: List<&2, Lint.Above>, +program: Program ) -> Bool: match asked: case True{}: after(path, program, forks(args, program)) case False{}: False{} Uses (7): 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=bend-lint-api@0.2.0.0/linter/lint.bend&name=Above 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-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=after https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/performance/bang_after_fork.bend&name=forks