[swift-evolution] For-loop revisited

Антон Жилин antonyzhilin at gmail.com
Tue Mar 8 11:56:30 CST 2016

It's already possible:

for d in stride(from: 0, to: 5, by: 0.3) {

Absolutely readable (despite all efforts to break it).
And I would passionately hate the special syntax for floating-point loops
in Swift.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160308/3454d48d/attachment.html>

More information about the swift-evolution mailing list