はじめに お断りしておきますと、「Rangeを使ったforループは気をつけよう」で指摘されている問題は、Appleも把握してます。 Release Notes More improvements are due in forthcoming betas, addressing a variety of issues iterating over floating point ranges, constructing negative ranges, and several other known range-related problems. Appleの対応を待てない人は それを踏まえた上で、Appleの対応を待てない人向けの対策を。 @infix func ..< (lhs:Int, rhs:Int)->StrideTo<Int> { return stride(from:lhs, t