DecreasingCall.known: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/language/decreasing_call.bend as DecreasingCall Lines 131-141 of bend-lint-rules@0.2.0.0/language/decreasing_call.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/language/decreasing_call.bend&start_line=131&end_line=141 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # What the cases above a call (`chain`, outermost first; `parent` is the node above the first) take apart. def known( chain: List<&2, Lint.Above>, parent: Maybe<&2, Lint.Node>, smaller: List<&2, Smaller> ) -> List<&2, Smaller>: match chain: case Nil{}: smaller case Con{Lint.Above{+node, at}, rest}: known(rest, Some{node}, known.at(parent, node, smaller)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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/language/decreasing_call.bend&name=Smaller https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/language/decreasing_call.bend&name=known.at