Notes IV

Janice Caron caron800 at googlemail.com
Fri Jan 25 01:27:15 PST 2008


On Jan 25, 2008 9:22 AM, Janice Caron <caron800 at googlemail.com> wrote:
> There is a slight problem there, which is that "in" already has a
> meaning

For that matter, it has two meanngs. So wouldn't

    foreach (a; b in c)

parse as

    foreach (a; (b in c))

which might actually make sense if c defines opIn_r(). So you'd still
end up having to distinguish a comma from a semicolon anyway.



More information about the Digitalmars-d mailing list