Io.nonempty: def of near-v-framework@0.4.0.0 Import: import near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend as Io Lines 128-134 of near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend: https://jend.leeeet.dev/read.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend&start_line=128&end_line=134 import Base # The trimmed, non-empty strings. def nonempty(xs: List<&2, String>) -> List<&2, String>: match xs: case []: [] case +x <> rest: keep_filled(Bool.not(String.is_empty(String.trim(x))), String.trim(x), nonempty(rest)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.trim https://jend.leeeet.dev/definition.txt?path=near-v-framework@0.4.0.0/domain/architecture/system/effs/io.bend&name=keep_filled