[Swift-devel] iterate behavior

Mihael Hategan hategan at mcs.anl.gov
Tue Jul 5 13:39:39 CDT 2011


I have

iterate i {
  trace(i);
} until (i > 2);

I read that "until" as "the iteration body should not be run if i > 2",
and yet trace goes up to 3. And I'm not sure if that's the right way to
go.

Discuss...




More information about the Swift-devel mailing list