Pin.gaps: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/pin.bend as Pin Lines 47-55 of ezx@1.11.0.0/src/share/pin.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/pin.bend&start_line=47&end_line=55 import Base import ezx@1.11.0.0/src/ledger/manifest.bend as M # the first pin, in ledger order, a plain lock cannot copy, or "" when it can # copy every one def gaps(ts: List<&2, M.Tool>) -> String: match ts: case []: "" case h <> t: +here = gap(h) gaps.step(String.is_empty(here), here, _u => gaps(t)) Uses (6): 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=Base/base.bend&name=String.is_empty https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ledger/manifest.bend&name=Tool https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/pin.bend&name=gap https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/share/pin.bend&name=gaps.step