std.algorithm.sorting.ordered, strictlyOrdered
Vladimir Panteleev via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 25 06:31:07 PDT 2015
On Tuesday, 23 June 2015 at 22:45:10 UTC, Vladimir Panteleev
wrote:
> http://dump.thecybershadow.net/0362443dfcca30860db907e494831b79/names.diff
Rationale:
- The function is very closely related to "isSorted".
- The "is" prefix strongly indicates that the return value is a
bool, and removes ambiguity that this function might return an
ordered view of something.
- Would be nice to leave this naming scheme for lazy range
operations, as is already used for indexed / transposed, which
return ranges, not bools.
Suggested new name: isOrdered / isStrictlyOrdered
More information about the Digitalmars-d
mailing list