Static Foreach

John Colvin john.loughran.colvin at gmail.com
Sun Nov 24 12:06:36 PST 2013


On Sunday, 24 November 2013 at 19:57:06 UTC, Philippe Sigaud 
wrote:
> On Sun, Nov 24, 2013 at 8:46 PM, John Colvin
> <john.loughran.colvin at gmail.com> wrote:
>
>> However, the current set of tools is a bit lacking in that 
>> department.
>> Hopefully I'll be able to rectify this with my attempt at a 
>> proper std.meta
>> package :)   Unfortunately, it's proving to a bit of a 
>> stress-test on some
>> dustier parts of the compiler (not to mention my brain), so 
>> progress is a
>> bit slower than I would have hoped.
>
> You can have a look there:
>
> https://github.com/PhilippeSigaud/dranges/blob/master/tuple.d
>
> and
>
> https://github.com/PhilippeSigaud/dranges/blob/master/typetuple.d
>
> (this one was fun: regex on type tuples!)
> https://github.com/PhilippeSigaud/dranges/blob/master/typepattern.d

I've been looking at that stuff recently :-)  It's pretty cool, 
in particular the regex stuff.

I'm wary of going overboard though, it's very tempting to keep 
adding functionality that is too obscure for a standard library.


More information about the Digitalmars-d mailing list