Plan.fuel: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pub/plan.bend as Plan Lines 423-430 of ezx@1.11.0.0/src/pub/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pub/plan.bend&start_line=423&end_line=430 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # the walk's fuel: one step for the entry and one per line of the files it # was given, since every import it can queue is a line of one of them def fuel(fs: List<&2, K.Source>) -> Nat: match fs: case []: 1n case K.Source{_at, text} <> t: (List.length(&2, String, String.lines(text)) + fuel(t) : Nat) 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.length https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.lines https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&name=Source