Dir.dir.keep.pick: def of ezsys@0.1.0.0 Import: import ezsys@0.1.0.0/src/dir.bend as Dir Lines 44-54 of ezsys@0.1.0.0/src/dir.bend: https://jend.leeeet.dev/read.txt?path=ezsys@0.1.0.0/src/dir.bend&start_line=44&end_line=54 import Base # a name kept unless it is "." or ".." def dir.keep.pick( dot: Bool, +name: String, rest: Unit -> List<&2, String> ) -> List<&2, String>: match dot: case True{}: rest(Unit{}) case False{}: Con{name, rest(Unit{})} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Unit