Lru.kx_go: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/lru.bend as Lru Lines 817-826 of bend-collections@1.0.0.0/src/containers/lru.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&start_line=817&end_line=826 import Base import bend-collections@1.0.0.0/src/math/u64.bend as W def kx_go(a, -V: Kind(a), fuel: Nat, +now: W.U64, s: Kx) -> LRU: match fuel s: case 0n KMore{f}: f case 0n KDone{f}: f case 1n+p KMore{f}: kx_go(a, V, p, now, kx_check(a, V, drop_head(a, V, f), now)) case 1n+p KDone{f}: f Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=Kx https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=LRU https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=drop_head https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=kx_check https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/math/u64.bend&name=U64