Pkg.words.keep: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg Lines 46-53 of ezx@1.11.0.0/src/pkg/pkg.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/pkg/pkg.bend&start_line=46&end_line=53 import Base # the words of a line, with the runs of spaces dropped def words.keep(ws: List<&2, String>) -> List<&2, String>: match ws: case []: [] case Con{+h, t}: +more = words.keep(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