Ouch. Yes, the upper bound can't be required to have a successor.<br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 8, 2016 at 3:45 PM Erica Sadun <<a href="mailto:erica@ericasadun.com">erica@ericasadun.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It's a really good corner case to consider if you're thinking about redesigning ranges though. -- E<br>
<br>
> On Apr 8, 2016, at 8:43 AM, Nate Cook <<a href="mailto:natecook@gmail.com" target="_blank">natecook@gmail.com</a>> wrote:<br>
><br>
> You can stride through the maximum value of a type if you land right on it:<br>
><br>
> for i in UInt8.min.stride(through: UInt8.max, by: 1) {<br>
> print(i)<br>
> }<br>
><br>
> Nate<br>
<br>
</blockquote></div>