You may see in the Swift programming guide, half-open range operator is written as
0..9 (the range is from 0 to 8, not including 9). In beta 3, it is changed to
0..<9 (much more meaningful, but personally feel it is not beautiful). A less than symbol is added.
No comments:
Post a Comment