Andrei Alexandrescu <seewebsiteforem...@erdani.org> writes: > On 5/18/12 4:36 PM, Mehrdad wrote: >> On Friday, 18 May 2012 at 21:28:45 UTC, Andrei Alexandrescu wrote: >>> I guess it is now :o). >>> >>> Andrei >> >> lol >> >> >> One more thing that's also annoying about this is that it's not in >> std.algorithms, but std.range... >> >> Asn't binary search an algorithm? > > It is, and the decision (after a good amount of deliberation) is > arbitrary. Some rationale was that SortedRange has enough structure to make it > an "interesting" range, so I put it in std.range. The argument could go either > way. Now it's gone one way. Let's move on.
This is posted long after the conversation, but a partial solution to the confusion could be handled in the docs. Add a section in std.algorithms referring to std.range, so that newcomers can find what they're looking for with less confusion. Jerry