Attempt to get rid of phobos Makefiles, using reggae

Meta via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 5 13:01:31 PDT 2015


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. */);


More information about the Digitalmars-d mailing list