<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="">There’s a great discussion going on here, and I don’t mean to distract. But I want to ask: to get an infinite sequence using the Swift standard library, you’re going to have to create one yourself, say using the new `sequence()` functions? There’s nothing built in that is already infinite, so people will know what they are creating, that’s the explicit step, and there’s no need to have safety to infinitely loop over something. And if someone accidentally creates an unwanted infinite loop, that’s a fix in the creation of the sequence, not in its looping.</div><div class=""><br class=""></div><div class="">Patrick</div><br class=""><div><blockquote type="cite" class=""><div class="">On 23 Jun 2016, at 11:12 AM, Matthew Johnson via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; 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="">Sure, it’s not wrong in the sense that sometimes an infinite loop is valid. &nbsp;But I think it would almost always be wrong (an accident) in practice. &nbsp;If you really want to loop over an infinite sequence maybe it’s a good thing to require you to do that explicitly.</span></div></blockquote></div><br class=""></body></html>