Run.nonempty: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/lock/run.bend as Run Lines 55-62 of ezx@1.13.0.0/src/lock/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/lock/run.bend&start_line=55&end_line=62 import Base # the non-empty lines def nonempty(ss: List<&2, String>) -> List<&2, String>: match ss: case []: [] case +h <> t: +more = nonempty(t) Bool.pick(List<&2, String>, String.is_empty(h), more, h <> more) 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