It's a really good corner case to consider if you're thinking about redesigning 
ranges though. -- E

> On Apr 8, 2016, at 8:43 AM, Nate Cook <natec...@gmail.com> wrote:
> 
> You can stride through the maximum value of a type if you land right on it:
> 
> for i in UInt8.min.stride(through: UInt8.max, by: 1) {
>     print(i)
> }
> 
> Nate

_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to