[swift-evolution] Feature proposal: Range operator with step

Erica Sadun erica at ericasadun.com
Thu Apr 14 18:42:03 CDT 2016


> On Apr 14, 2016, at 1:42 PM, Hans Huck via swift-evolution <swift-evolution at swift.org> wrote:
> Please elaborate. How could
> 
> for i in (1...10).by(3)
> 
> possibly be misinterpreted?
> 

(1..<11), (4..<14), (7..<17)...

-- E




More information about the swift-evolution mailing list