Consider:

    foreach (x; 1.0 .. 4.1) writeln(x);
    foreach_reverse (x; 1.0 .. 4.1) writeln(x);

This sucks. foreach with interval for floating-point types should be disallowed.


Andrei

Reply via email to