Rewrite of std.range docs (Was: Re: Making sense of ranges)

H. S. Teoh hsteoh at quickfur.ath.cx
Tue Mar 27 07:40:01 PDT 2012


On Tue, Mar 27, 2012 at 09:55:43PM +0900, Mike Parker wrote:
> On 3/27/2012 7:26 PM, Marco Leise wrote:
[...]
> >"Ranges whose elements are sorted affords ..."<- insert a comma
> >before affords perhaps? It would help non-native speakers.
> >
> 
> Actually, a comma there would be incorrect. But because 'Ranges' is
> plural, 'affords' should lose the 's' (Ranges whose elements are
> sorted afford...). If the wording is confusing, perhaps it could be
> rewritten as "Sorted ranges afford..."

Fixed, thanks for catching that grammatical glitch.


T

-- 
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it. -- Brian W. Kernighan


More information about the Digitalmars-d-learn mailing list