def unend

ezx@1.11.0.0 · src/ledger/ignore.bend:359

import ezx@1.11.0.0/src/ledger/ignore.bend as Ignore
import 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)

Uses (3)

Used by (1)