Imports.block: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/imports.bend as Imports Lines 124-141 of bend-lint-rules@0.2.0.0/layout/imports.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/imports.bend&start_line=124&end_line=141 import Base import bend-lint-api@0.2.0.0/linter/lint.bend as Lint # The block of the imports among `nodes`. A file's imports come first, so the first node of another kind ends them. def block(nodes: List<&2, Lint.Node>, +text: String, b: Block) -> Block: match nodes: case Con{ Lint.Node{ Lint.Import{loads}, alias, Some{at}, Con{Lint.Node{Lint.ImportPath{}, path, s, k, f}, ks}, fs }, rest }: block(rest, text, add(text, at, False{}, path, alias, loads, b)) case Con{Lint.Node{Lint.Import{loads}, alias, Some{at}, k, f}, rest}: block(rest, text, add(text, at, True{}, "Base", alias, loads, b)) case _: b Uses (8): 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=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=Node https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/linter/lint.bend&name=Syntax https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/imports.bend&name=Block https://jend.leeeet.dev/definition.txt?path=bend-lint-rules@0.2.0.0/layout/imports.bend&name=add