https://d.puremagic.com/issues/show_bug.cgi?id=11978

           Summary: std.algorithm canFind uses "value" where it means
                    "needle"
           Product: D
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Regan Heath <[email protected]> 2014-01-23 08:05:44 PST 
---
from std.algorithm:

bool canFind(alias pred = "a == b", R, E)(R haystack, E needle) if
(is(typeof(find!pred(haystack, needle))));
Returns true if and only if **value** can be found in range. Performs
Ο(needle.length) evaluations of pred.

What is **value** shouldn't that be needle?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to