Law.nodes: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/rules/laws/law.bend as Law Lines 80-91 of bolt@1.27.0.0/src/rules/laws/law.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&start_line=80&end_line=91 import Base import bolt@1.27.0.0/src/syntax/outline.bend as Outline import bolt@1.27.0.0/src/rules/digest.bend as Digest import bolt@1.27.0.0/src/rules/imports.bend as Imports # the items of a file as nodes onto the others: a def leads to what it # calls, a type and its constructors to nothing def nodes(ts: List<&2, Digest.Top>, +pp: String, more: List<&2, Imports.Edge>) -> List<&2, Imports.Edge>: match ts: case Nil{}: more case Con{Digest.Top{Outline.IDef{}, name, line, cs, calls}, rest}: Imports.Edge{key(pp, name), keys(calls)} <> nodes(rest, pp, more) case Con{Digest.Top{Outline.IType{}, name, line, cs, calls}, rest}: Imports.Edge{key(pp, name), []} <> ctor_nodes(cs, pp, nodes(rest, pp, more)) case Con{other, rest}: nodes(rest, pp, more) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/digest.bend&name=Top https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/imports.bend&name=Edge https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&name=ctor_nodes https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&name=key https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/rules/laws/law.bend&name=keys https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/outline.bend&name=ItemKind