<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Erica, </div><div class=""><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">Wouldn’t this work for @tuuranton’s purposes?</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><blockquote type="cite" class=""></blockquote></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro';"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(200, 172, 229);">let</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> allUInt8s = </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(73, 162, 210);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.min.</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(145, 84, 15);">stride</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(through: </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(73, 162, 210);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.max, by: </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(255, 38, 0);">1</span><span class="" style="font-variant-ligatures: no-common-ligatures;">)</span></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro'; min-height: 15px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><div class="" style="margin: 0px; line-height: normal; min-height: 15px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; line-height: normal; color: rgb(203, 203, 203);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(143, 121, 58);">allUInt8s</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">.</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(200, 172, 229);">dynamicType</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> </span><span class="" style="font-variant-ligatures: no-common-ligatures;">// StrideThrough<UInt8>.Type</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro'; color: rgb(143, 121, 58);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(73, 162, 210);">Array</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">(</span><span class="" style="font-variant-ligatures: no-common-ligatures;">allUInt8s</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);">).</span><span class="" style="font-variant-ligatures: no-common-ligatures;">count</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(203, 203, 203);">// 256</span></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro'; min-height: 15px;"><span class="" style="font-variant-ligatures: no-common-ligatures;"></span><br class=""></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro'; color: rgb(143, 121, 58);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(200, 172, 229);">for</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> i </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(200, 172, 229);">in</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> </span><span class="" style="font-variant-ligatures: no-common-ligatures;">allUInt8s</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"> {</span></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro'; color: rgb(203, 203, 203);"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(0, 0, 0);"><span class="Apple-tab-span" style="white-space: pre;">        </span>i </span><span class="" style="font-variant-ligatures: no-common-ligatures;">// 0...255</span></div><div class="" style="margin: 0px; font-size: 12px; line-height: normal; font-family: 'Source Code Pro';"><span class="" style="font-variant-ligatures: no-common-ligatures;">}</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;">milos</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><blockquote type="cite" class=""><div class="">On 8 Apr 2016, at 13:48, tuuranton--- via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><div class="">The problem with both solutions is that I lose the type information. Instead of i being UInt8 it is Int or UInt.</div><div class=""><br class=""></div><div class="">This is one solution I came up with:</div><div class=""><br class=""></div><div class="">extension UInt8 {</div><div class=""> static var allValues: [UInt8] {</div><div class=""> var v: [UInt8] = []</div><div class=""> for i in 0..<UInt8.max {</div><div class=""> v.append(i)</div><div class=""> }</div><div class=""> v.append(UInt8.max)</div><div class=""> return v</div><div class=""> }</div><div class="">}</div><div class=""><br class=""></div><div class="">print(UInt8.allValues)</div><div class=""><br class=""></div><div class="">In other words, loop from 0 to 254 and then add 255 manually at the end.</div><div class=""><br class=""></div><div class="">Is there currently no simpler way to do this in Swift?</div><div class=""><br class=""></div><div class="">Idea for the Swift developers: Create a Bounded protocol that UInt8 (and the other integer types) conform to. Then add a "allValues" type method in that protocol. And also put .min and .max into that protocol. Currently it seems like .min and .max are not a part of any particular protocol.</div><br class=""><br class="">8. Apr 2016 14:35 by <a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>:<br class=""><br class=""><blockquote class="tutanota_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(147, 163, 184); padding-left: 10px; margin-left: 5px;"><div class="">You could cast the min and max values to an Int and iterate through the Int range:</div><div class=""><br class=""></div><div class=""><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: inconsolata; color: rgb(164, 176, 177);"><span class="" style="color: rgb(222, 81, 148);">let</span><span class=""> min = </span><span class="" style="color: rgb(127, 135, 207);">Int</span><span class="">(</span><span class="" style="color: rgb(127, 135, 207);">UInt8</span><span class="">.min)</span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: inconsolata; color: rgb(164, 176, 177);"><span class="" style="color: rgb(222, 81, 148);">let</span><span class=""> max = </span><span class="" style="color: rgb(127, 135, 207);">Int</span><span class="">(</span><span class="" style="color: rgb(127, 135, 207);">UInt8</span><span class="">.max)</span></div></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: inconsolata; color: rgb(164, 176, 177);"><span class=""><br class=""></span></div><div class="" style="margin: 0px; font-size: 16px; line-height: normal; font-family: inconsolata; color: rgb(164, 176, 177);"><span class=""></span><div class="" style="margin: 0px; line-height: normal;"><span class="" style="color: rgb(222, 81, 148);">for</span><span class=""> i </span><span class="" style="color: rgb(222, 81, 148);">in</span><span class=""> </span><span class="" style="color: rgb(47, 175, 169);">min</span><span class="">...</span><span class="" style="color: rgb(47, 175, 169);">max</span><span class=""> {</span></div><div class="" style="margin: 0px; line-height: normal;"><span class=""> </span><span class="" style="color: rgb(44, 158, 219);">print</span><span class="">(i)</span></div><div class="" style="margin: 0px; line-height: normal;"><span class="">}</span></div></div><div class=""><br class=""></div><div class="">While this will work it seems like a hack to me and Milos’ solution is more elegant…</div><div class=""><br class=""></div><div class="">-Pete</div><div class=""><br class=""></div><br class=""><div class=""><blockquote class="thunderbird_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(147, 163, 184); padding-left: 10px; margin-left: 5px;"><div class="">On Apr 8, 2016, at 5:50 AM, tuuranton--- via swift-users <<a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I forgot to mention that I really would like to have i have type UInt8 within the loop. And since i is UInt8 it makes sense it should be able to take the values UInt8.min and UInt8.max (and all the values between).<br class=""><br class="">8. Apr 2016 11:48 by <a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a>:<br class=""><br class=""><blockquote class="tutanota_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(147, 163, 184); padding-left: 10px; margin-left: 5px;"><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">print(UInt8.min) //0</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">print(UInt8.max) //255</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"><br class=""></p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//Is there an easy way to loop between all values</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//between (and including both) UInt8.min and UInt8.max?</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"><br class=""></p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//This doesn't work.</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//Runtime crash because UInt8.max has no successor.</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">for i in UInt8.min...UInt8.max {</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"> print(i)</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">}</p><div class=""><br class=""></div></blockquote></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" target="_blank" class="">swift-users@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-users" target="_blank" class="">https://lists.swift.org/mailman/listinfo/swift-users</a><br class=""></div></blockquote></div><br class=""></blockquote></div>_______________________________________________<br class="">swift-users mailing list<br class=""><a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a><br class=""><a href="https://lists.swift.org/mailman/listinfo/swift-users" class="">https://lists.swift.org/mailman/listinfo/swift-users</a><br class=""></div></blockquote></div><br class=""></div><div><blockquote type="cite" class=""><div class="">On 8 Apr 2016, at 15:21, Erica Sadun via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" class=""><div class=""><br class="Apple-interchange-newline">On Apr 8, 2016, at 3:48 AM, tuuranton--- via swift-users <<a href="mailto:swift-users@swift.org" class="">swift-users@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">print(UInt8.min) //0</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">print(UInt8.max) //255</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"><br class=""></p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//Is there an easy way to loop between all values</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//between (and including both) UInt8.min and UInt8.max?</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"><br class=""></p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//This doesn't work.</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">//Runtime crash because UInt8.max has no successor.</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">for i in UInt8.min...UInt8.max {</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;"> print(i)</p><p class="" style="font-size: 11px; line-height: normal; font-family: menlo;">}</p><div class=""><br class=""></div></div></div></blockquote><br class=""></div><div style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">Easy? No. </div><div style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><div style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);"><span class="" style="font-variant-ligatures: no-common-ligatures;">// Range Index has no valid successor</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">for</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>i<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">in</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.min ...<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.max {</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">print</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(i)</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">}</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo; color: rgb(0, 132, 0);"><span class="" style="font-variant-ligatures: no-common-ligatures;">// '...' cannot be applied to two 'UInt8' operands</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">for</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>i<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">in</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="color: rgb(112, 61, 170); font-variant-ligatures: no-common-ligatures;">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.min ...<span class="Apple-converted-space"> </span></span><span class="" style="color: rgb(112, 61, 170); font-variant-ligatures: no-common-ligatures;">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.max<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">as</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="color: rgb(112, 61, 170); font-variant-ligatures: no-common-ligatures;">ClosedInterval </span><span class="" style="font-variant-ligatures: no-common-ligatures;">{</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> print(i)</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">}</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div></div><div class="" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><span class="" style="color: rgb(0, 132, 0); font-family: Menlo; font-size: 18px;">// Stops at 254</span></div><div class="" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">for</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>i<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">in</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.min ..<<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.max {</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">print</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(i)</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">}</span></div><div class=""><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class=""><br class=""></div><div class="">This works, but ugh:</div></div><div class="" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br class=""></div><div class="" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">for</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>i :<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">Int</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">in</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">numericCast</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.min)...</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">numericCast</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">.max) {</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">guard</span><span class="" style="font-variant-ligatures: no-common-ligatures;"> </span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">let</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>j:<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>=<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(112, 61, 170);">UInt8</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(i)<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(187, 44, 162);">else</span><span class="" style="font-variant-ligatures: no-common-ligatures;"><span class="Apple-converted-space"> </span>{<span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">fatalError</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(</span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(209, 47, 27);">"Nope"</span><span class="" style="font-variant-ligatures: no-common-ligatures;">) }</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"> <span class="Apple-converted-space"> </span></span><span class="" style="font-variant-ligatures: no-common-ligatures; color: rgb(61, 29, 129);">print</span><span class="" style="font-variant-ligatures: no-common-ligatures;">(j)</span></div><div class="" style="margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;">}</span></div></div><div class="" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><br class=""></span></div><div class="" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"><span class="" style="font-variant-ligatures: no-common-ligatures;"><div class="" style="font-family: Palatino; font-size: 14px;">cc'ing in a few people to the white courtesy range phone.</div><div class="" style="font-family: Palatino; font-size: 14px;"><br class=""></div><div class="" style="font-family: Palatino; font-size: 14px;">-- E</div><div class="" style="font-family: Palatino; font-size: 14px;"><br class=""></div><div class=""><br class=""></div></span></div><span style="font-family: -webkit-standard; font-size: inherit; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: -webkit-standard; font-size: inherit; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">swift-users mailing list</span><br style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:swift-users@swift.org" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">swift-users@swift.org</a><br style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.swift.org/mailman/listinfo/swift-users" style="font-family: -webkit-standard; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.swift.org/mailman/listinfo/swift-users</a></div></blockquote><div class=""><br class=""></div></div><br class=""></body></html>