On Thursday, 15 January 2015 at 20:21:26 UTC, Nordlöw wrote:
I would have implemented countUntil() to return-length upon failure instead of -1 .Then I could have just returned abs of the return value from commonUntil.
I wonder if we could add an extra overload to countUntil in Phobos that takes an enum as first argument similar to zip's StoppingPolicy. Something like FailCountPolicy.