Plan.fuel: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/add/plan.bend as Plan Lines 296-306 of ezx@1.11.0.0/src/add/plan.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/add/plan.bend&start_line=296&end_line=306 import Base import ezx@1.11.0.0/src/pkg/pkg.bend as K # fuel enough for a walk over these files: one step for the entry and one for # every import it can queue, and every import is a line of some file. So a # walk over a checkout never runs out, and the fuel is a function of the # checkout rather than a number, which keeps the walk from unrolling when a # proof reasons about a checkout it does not know. 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