@@ -162,18 +162,18 @@ public extension Int32 /*: AbsoluteValuable*/ {
162162public extension Int32 /*: Strideable*/ {
163163
164164 func advancedBy( _ n: Int32 ) -> Int32 {
165- return self + n;
165+ return self + n
166166 }
167167
168168 func distanceTo( _ other: Int32 ) -> Int32 {
169- return other - self ;
169+ return other - self
170170 }
171171
172172 public func stride( # through: Int32 , by: Int32 ) -> ISequence < Int32 > {
173173 precondition ( by > 0 , " 'by' must be larger than zero " )
174174 var i = self
175175 while i <= through {
176- __yield i;
176+ __yield i
177177 i += by
178178 }
179179 }
@@ -184,7 +184,7 @@ public extension Int32 /*: Strideable*/ {
184184 precondition ( by > 0 , " 'by' must be larger than zero " )
185185 var i = self
186186 while i < to {
187- __yield i;
187+ __yield i
188188 i += by
189189 }
190190 }
@@ -242,18 +242,18 @@ public extension Int64 {//: Equatable, Comparable, ForwardIndexType {
242242 // Strideable
243243
244244 func advancedBy( _ n: Int64 ) -> Int64 {
245- return self + n;
245+ return self + n
246246 }
247247
248248 func distanceTo( _ other: Int64 ) -> Int64 {
249- return other - self ;
249+ return other - self
250250 }
251251
252252 public func stride( # through: Int64 , by: Int64 ) -> ISequence < Int64 > {
253253 precondition ( by > 0 , " 'by' must be larger than zero " )
254254 var i = self
255255 while i <= through {
256- __yield i;
256+ __yield i
257257 i += by
258258 }
259259 }
@@ -264,7 +264,7 @@ public extension Int64 {//: Equatable, Comparable, ForwardIndexType {
264264 precondition ( by > 0 , " 'by' must be larger than zero " )
265265 var i = self
266266 while i < to {
267- __yield i;
267+ __yield i
268268 i += by
269269 }
270270 }
@@ -276,18 +276,18 @@ public extension Float {
276276 // Strideable
277277
278278 func advancedBy( _ n: Float ) -> Float {
279- return self + n;
279+ return self + n
280280 }
281281
282282 func distanceTo( _ other: Float ) -> Float {
283- return other - self ;
283+ return other - self
284284 }
285285
286286 public func stride( # through: Float, by: Float) -> ISequence < Float > {
287287 precondition ( by > 0 , " 'by' must be larger than zero " )
288288 var i = self
289289 while i <= through {
290- __yield i;
290+ __yield i
291291 i += by
292292 }
293293 }
@@ -298,7 +298,7 @@ public extension Float {
298298 precondition ( by > 0 , " 'by' must be larger than zero " )
299299 var i = self
300300 while i < to {
301- __yield i;
301+ __yield i
302302 i += by
303303 }
304304 }
@@ -310,18 +310,18 @@ public extension Double {
310310 // Strideable
311311
312312 func advancedBy( _ n: Double ) -> Double {
313- return self + n;
313+ return self + n
314314 }
315315
316316 func distanceTo( _ other: Double ) -> Double {
317- return other - self ;
317+ return other - self
318318 }
319319
320320 public func stride( # through: Double, by: Double) -> ISequence < Double > {
321321 precondition ( by > 0 , " 'by' must be larger than zero " )
322- var i = self
322+ let i = self
323323 while i <= through {
324- __yield i;
324+ __yield i
325325 i += by
326326 }
327327 }
@@ -332,7 +332,7 @@ public extension Double {
332332 precondition ( by > 0 , " 'by' must be larger than zero " )
333333 var i = self
334334 while i < to {
335- __yield i;
335+ __yield i
336336 i += by
337337 }
338338 }
0 commit comments