On Tuesday, 11 February 2014 at 04:46:41 UTC, Martin Nowak wrote:
Barely running but already fun and a little useful.
Example:
D> import std.algorithm, std.array, std.file;
=> std
D> auto name(T)(T t) {
| return t.name;
| }
=> name
D> dirEntries(".", SpanMode.depth).map!name.join(", ")
=> ./drepl_sandbox
D>
https://github.com/MartinNowak/drepl
http://drepl.dawg.eu/
This approach with separate modules is far superior to what I did
with dabble, and much simpler. My target was windows initially,
where I guess this won't work currently. Hopefully the situation
there will improve soon.