[Issue 5508] Update startsWith to take a range of ranges

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 8 16:24:26 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=5508



--- Comment #4 from Jesse Phillips <Jesse.K.Phillips+D at gmail.com> 2013-01-08 16:24:24 PST ---
(In reply to comment #3)
> I understand. But that conflicts with the current semantics, which say that for
> x and y of type T[], x.startsWith(y) is true iff y is a prefix of x.

But Y is of type Range!(T[]).

I guess it is to boyerMooreFinder[1] as startsWith is to find.

1. http://dlang.org/phobos/std_algorithm.html#boyerMooreFinder

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


More information about the Digitalmars-d-bugs mailing list