std.xml should just go
bearophile
bearophileHUGS at lycos.com
Fri Feb 11 17:01:31 PST 2011
Andrei:
> Now we have a unified way of referring to elements in ranges. Walter's
> excellent follow-up is that the compiler could use lowering such that
> you don't even need to use first and last. You'd just use r[0] and r[$ -
> 1] and the compiler would take care of handling these special cases.
Nice. Now you just need to lower the syntax a~b to mean chain(a,b) for lazy ranges, and we are starting to use ranges well enough, as lists in functional languages :-)
Bye,
bearophile
More information about the Digitalmars-d
mailing list