Reimplementing the bulk of std.meta iteratively

Paul Backus snarwin at gmail.com
Sat Sep 26 17:36:35 UTC 2020


On Saturday, 26 September 2020 at 16:18:27 UTC, Andrei 
Alexandrescu wrote:
> For the most part implementation has been a healthy gallop that 
> took a couple of hours yesterday and a couple of hours today. 
> Its weakest point is it uses .stringof for types, which has 
> issues with local types. Hopefully 
> https://github.com/dlang/dmd/pull/11797 could help with that.

It's amazing to me how obvious this idea seems now that I've seen 
it. D's had type -> string serialization for ages; of course 
there should also be a way to do the reverse! And yet somehow, it 
never even crossed my mind until I read Walter's PR.

I think this is a real winner.


More information about the Digitalmars-d mailing list