On 2012-08-02 08:26, Jonathan M Davis wrote:

It's really not all that hard to special case for strings, especially when
you're operating primarily on code units. And I think that the lexer should be
flexible enough to be usable with ranges other than strings. We're trying to
make most stuff in Phobos range-based, not string-based or array-based.

Ok. I just don't think it's worth giving up some performance or make the design overly complicated just to make a range interface. But if ranges doesn't cause these problems I'm happy.

--
/Jacob Carlborg

Reply via email to