Should readdir
return an iterator?
#27393
Labels
collections
Data structures holding multiple items, e.g. sets
filesystem
Underlying file system and functions that use it
Seems kind of weird that
readdir
just returns a Vector{String} instead of a lazy generator, since you can always go from the latter to the former. For reference, Python'spathlib.Path.iterdir
, the equivalent function, does return a generator.The text was updated successfully, but these errors were encountered: