On Friday, 5 June 2015 at 19:17:14 UTC, Steven Schveighoffer wrote:
This sounds like a job for CAPTAIN RANGE!!!

Seriously though, the thought of using ranges to allow specifying files fits perfectly. Imagine the power!

"std/c/windows/".allSubFiles.filter!(a => a.name.extension == ".d");

Need that allSubFiles range, it probably already exists :)

-Steve

http://dlang.org/phobos/std_file.html#.dirEntries ?

"std/c/windows/".dirEntries(SpanMode.breadth).filter!(/* etc. */);

Reply via email to