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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 --- Comment #6 from Jesse Phillips 2013-01-08 17:52:39 PST --- (In reply to comment #5) > No, look again at your example. All ranges have type string[]. Did you > actually > mean this? > > import std.algorithm; > > void main() { > auto

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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 --- Comment #5 from Andrei Alexandrescu 2013-01-08 17:47:31 PST --- (In reply to comment #4) > (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.startsW

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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 --- Comment #4 from Jesse Phillips 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.

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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 --- Comment #2 from Jesse Phillips 2013-01-08 08:02:11 PST --- (In reply to comment #1) > Not sure I get the semantics. Currently the assertion fails because the first > array does not start with any of the other arrays. Please advise. The ar

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

2013-01-08 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 --- Comment #1 from Andrei Alexandrescu 2013-01-08 00:56:59 PST --- Not sure I get the semantics. Currently the assertion fails because the first array does not start with any of the other arrays. Please advise. -- Configure issuemail: http:

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

2012-04-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 SomeDude changed: What|Removed |Added CC||lovelyd...@mailmetrash.com Platfor

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

2011-01-31 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5508 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |ASSIGNED -- Configure issuemail