On Sunday, 24 November 2013 at 20:22:05 UTC, Philippe Sigaud wrote:
On Sun, Nov 24, 2013 at 9:06 PM, John Colvin
<john.loughran.col...@gmail.com> wrote:

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.

That's why I never tried to get it into Phobos :)
And, truth is, I used almost none of it, even when most of this code
is 4 years old.
Mapping/filtering/reducing tuples is the most useful part.

Yeah I'm mostly working around porting std.range and std.algorithm. They're a pretty good subset of "useful things to do with sequences of things". Even so, I suspect come review people will want it pruned a little.

Reply via email to