def unend
import ezx@1.11.0.0/src/ledger/ignore.bend as Ignoreimport Base
359# the lines of a file cut at its newlines, less that last empty piece
360def unend(ps: List<&2, String>) -> List<&2, String>:
361 match ps:
362 case []:
363 []
364 case +h <> t:
365 unend.go(t, h)