[Issue 8087] Improve clarity of std.algorithm documentation

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 10 01:22:10 PST 2014


https://issues.dlang.org/show_bug.cgi?id=8087

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #1 from bearophile_hugs at eml.cc ---
(In reply to Walter Bright from comment #0)

> In general, for all the algorithms that deal with ranges, the range types
> should be named after the type of range expected - ForwardRange, InputRange,
> BidirectionalRange, etc.

It's even conceivable for the compiler to enforce this wise rule.

--


More information about the Digitalmars-d-bugs mailing list