GpuFit.forking: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/gpu_fit.bend as GpuFit Lines 158-176 of bend-lint-rules@0.2.0.0/performance/gpu_fit.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/gpu_fit.bend&start_line=158&end_line=176 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint import bend-lint-api@0.2.0.0/shared/lists.bend as Lists import bend-lint-api@0.2.0.0/shared/names.bend as Names # The definitions among `names` that a parallel let is in, onto `out`. def forking( names: List<&2, String>, +defs: Map<&2, Maybe<&2, Lint.Def>>, out: List<&2, String> ) -> List<&2, String>: match names: case Nil{}: out case Con{+t, rest}: forking( rest, defs, Lists.push( String, Lists.when(String, Lint.Def.forks(Names.find(Lint.Def, defs, t)), t), out ) ) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Map https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Def https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Def.forks https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/lists.bend&name=push https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/lists.bend&name=when https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/names.bend&name=find