Ignore.unend.go: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore Lines 349-357 of ezx@1.11.0.0/src/ledger/ignore.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ledger/ignore.bend&start_line=349&end_line=357 import Base # the last piece of a file cut at its newlines, dropped when it is empty: it # is what follows the newline the file ends with, and not a line a person # wrote def unend.go(rest: List<&2, String>, +last: String) -> List<&2, String>: match rest: case []: Bool.pick(List<&2, String>, String.is_empty(last), [], [last]) case +h2 <> t2: last <> unend.go(t2, h2) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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