UnusedResult.is_step: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/performance/unused_result.bend as UnusedResult Lines 41-60 of bend-lint-rules@0.2.0.0/performance/unused_result.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/performance/unused_result.bend&start_line=41&end_line=60 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # Whether a lambda below `path` is the rest of a step of a `do` block (`x : T <- m`, the last argument of a call of a # bind): its value comes from the monad, which makes it whether it is used or not. def is_step(path: List<&2, Lint.Above>) -> Bool: match path: case Con{ Lint.Above{ Lint.Node{ Lint.Application{}, n, s, Con{Lint.Node{Lint.Reference{t}, rn, rs, rk, rf}, args}, f }, at }, rest }: String.ends_with(t, ".bind") case _: False{} Uses (6): 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.ends_with 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-api@0.2.0.0/linter/lint.bend&name=Syntax