On Friday, 24 January 2014 at 08:21:12 UTC, Jacob Carlborg wrote:
Personally I would expect "any" to take a predicate and return "true" if it can find any matching element. If a predicate is not supplied it would behave as the opposite of "empty".

+1

I would expect "contains" to take a element and check if it exists in the range.

+1

I think "canFind" is just a weird name.

+1

I also think that contains/canFind/etc ... should get advantage of sorted ranges to speed up their searches (now it seems they don't!)

Reply via email to