My vote is a definite yes. I saw his dranges project on dsource a while back and was thoroughly impressed, since it basically contained everything I felt was missing but never got around to writing/debugging/checking in myself. std.range/std.algorithm are great concepts, but are in serious need of some debugging and fleshing out before their full potential can be realized, and it'd be great to have more manpower to do this. At the time that he initially posted about dranges, not much was made of it because everyone was focused on finalizing the core language spec, not improving Phobos. Now that the core language spec is somewhat finalized and TDPL is out, I think that the most useful subset of Philippe's work should be added to Phobos.<br>
<br><div class="gmail_quote">On Mon, Aug 2, 2010 at 4:04 PM, Andrei Alexandrescu <span dir="ltr"><<a href="mailto:andrei@erdani.com">andrei@erdani.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello all,<br>
<br>
I've followed Philippe's work lately, which seems to be of good quality. I suggest we add him to the roster; he could add great value to the likes of std.algorithm. Please reply either to me or the group with your vote and other thoughts before Tue 23:59:59'99'' CST.<br>
<br>
<br>
Andrei<br>
<br>
-------- Original Message --------<br>
Subject: Re: What functions could be added to std.algorithm?<br>
Date: Mon, 2 Aug 2010 21:32:29 +0200<br>
From: Philippe Sigaud <<a href="mailto:philippe.sigaud@gmail.com" target="_blank">philippe.sigaud@gmail.com</a>><br>
Reply-To: digitalmars.D <<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>><br>
Organization: Digital Mars<br>
To: digitalmars.D <<a href="mailto:digitalmars-d@puremagic.com" target="_blank">digitalmars-d@puremagic.com</a>><br>
Newsgroups: digitalmars.D<br>
References: <i33gdn$epd$<a href="mailto:1@digitalmars.com" target="_blank">1@digitalmars.com</a>><br>
<i33up0$15jr$<a href="mailto:1@digitalmars.com" target="_blank">1@digitalmars.com</a>><br>
<<a href="mailto:mailman.80.1280673176.13841.digitalmars-d@puremagic.com" target="_blank">mailman.80.1280673176.13841.digitalmars-d@puremagic.com</a>><br>
<i34p9o$2i42$<a href="mailto:1@digitalmars.com" target="_blank">1@digitalmars.com</a>><br>
<br>
<br>
<br>
On Sun, Aug 1, 2010 at 23:34, Andrei Alexandrescu<br>
<<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a> <mailto:<a href="mailto:SeeWebsiteForEmail@erdani.org" target="_blank">SeeWebsiteForEmail@erdani.org</a>>><br>
wrote:<br>
<br>
<br>
I agree that all of the functions you suggested deserve a place in<br>
std.algorithm (or std.range). Please add one bugzilla entry or<br>
better yet let me know if you'd like to join Phobos's devs (subject<br>
to team approval) so you can add them yourself.<br>
<br>
<br>
I'd be quite happy to join the Phobos' devs, if they accept me!<br>
<br>
In any case, as Jonathan said, all() and any() are 'bug' 4405. And<br>
takeWhile is 4535 (as per you suggestion, I added it a few days ago).<br>
<br>
<a href="http://d.puremagic.com/issues/show_bug.cgi?id=4535" target="_blank">http://d.puremagic.com/issues/show_bug.cgi?id=4535</a><br>
<br>
<br>
<br>
Also, I agree that std.algorithm has gotten a bit large. Any<br>
sensible ideas for addressing that should be discussed. Off the top<br>
of my head, I'm thinking that mutators vs. non-mutators could be a<br>
possible criterion for separation.<br>
<br>
BTW, it warms my heart to see that our std.algorithm is the fourth<br>
Google hit when searching for std::algorithm (or std.algorithm,<br>
which seems to produce the same results). I feel std.container can<br>
be a similarly compelling offering. *cough*RBTree*cough*Steve*cough*<br>
<br>
<br>
That reminds me I've some questions to ask on recursive containers<br>
(graphs, trees). I'll try to make a post about it.<br>
<br>
<br>
_______________________________________________<br>
phobos mailing list<br>
<a href="mailto:phobos@puremagic.com" target="_blank">phobos@puremagic.com</a><br>
<a href="http://lists.puremagic.com/mailman/listinfo/phobos" target="_blank">http://lists.puremagic.com/mailman/listinfo/phobos</a><br>
</blockquote></div><br>