def listed
import ezx@1.11.0.0/src/ws/workspace.bend as Workspaceimport Base
179# whether any entry names a directory
180def listed(es: List<&2, Entry>, +ds: List<&2, String>) -> Bool:
181 match es:
182 case []:
183 False{}
184 case +hd <> tl:
185 rest = listed(tl, ds)
186 Bool.or(hit(hd, ds), rest)