def lines
import ezx@1.11.0.0/src/ws/run.bend as Runimport Base
139# the non-empty lines
140def lines(ss: List<&2, String>) -> List<&2, String>:
141 match ss:
142 case []:
143 []
144 case +hd <> tl:
145 +more = lines(tl)
146 Bool.pick(List<&2, String>, String.is_empty(hd), more, hd <> more)