Args.nonempty: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/share/args.bend as Args Lines 13-20 of ezx@1.11.0.0/src/share/args.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/share/args.bend&start_line=13&end_line=20 import Base # the non-empty strings def nonempty(ss: List<&2, String>) -> List<&2, String>: match ss: case Nil{}: Nil{} case Con{+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