Attempt to get rid of phobos Makefiles, using reggae

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 5 13:16:01 PDT 2015


On 6/5/15 4:01 PM, Meta wrote:
> 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 :)
>
> http://dlang.org/phobos/std_file.html#.dirEntries ?
>
> "std/c/windows/".dirEntries(SpanMode.breadth).filter!(/* etc. */);

Nice, I was too lazy to look it up :)

-Steve


More information about the Digitalmars-d mailing list