On 8/3/2012 1:21 AM, Christophe Travert wrote:
This range does not have to be a string, it can be a something over a
file, stream, socket. It can also be the result of an algorithm, because
you *can* use algorithm on ranges of char, and it makes sense if you
know what you are doing.

Correct, that's the whole point of using a range - it can come from anything.

If Walter discovers the lexer does not work with a socket, a
"file.byChunk.join", and has to do expensive utf-8 decoding for the
lexer to work because it can only use range of dchar, and not range of
char (except that it special-cased strings), he may not be happy.

No may about it, I wouldn't be happy :-)

Reply via email to