RepeatedCall.first_beg: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/repeated_call.bend as RepeatedCall Lines 89-99 of bend-lint-rules@0.2.0.0/performance/repeated_call.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/repeated_call.bend&start_line=89&end_line=99 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # Where the first of `nodes`, or a node under it, that has a place starts. def first_beg(+fuel: Nat, nodes: List<&2, Lint.Node>) -> U32: match fuel nodes: case 0n _: 0 case _ Nil{}: 0 case 1n+f Con{Lint.Node{syntax, n, Some{Lint.Span{p, beg, end}}, k, fs}, rest}: beg case 1n+f Con{Lint.Node{syntax, n, None{}, k, fs}, rest}: first_beg(f, List.append(&2, Lint.Node, k, rest)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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=Span