<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Apr 23, 2017, at 1:30 PM, Xiaodi Wu &lt;<a href="mailto:xiaodi.wu@gmail.com" class="">xiaodi.wu@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Sun, Apr 23, 2017 at 3:12 PM, Ben Cohen <span dir="ltr" class="">&lt;<a href="mailto:ben_cohen@apple.com" target="_blank" class="">ben_cohen@apple.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><br class=""><div class=""><span class=""><blockquote type="cite" class=""><div class="">On Apr 23, 2017, at 1:05 PM, Xiaodi Wu &lt;<a href="mailto:xiaodi.wu@gmail.com" target="_blank" class="">xiaodi.wu@gmail.com</a>&gt; wrote:</div><br class="m_-1149583823872096012Apple-interchange-newline"><div class=""><div dir="ltr" class="">Is it the intention that `associatedtype Filtered : Sequence` once recursive protocol constraints are supported? </div></div></blockquote><div class=""><br class=""></div></span><div class="">Yup. Will add clarification.</div><span class=""><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">Can it be `associatedtype Filtered : Collection`?<div class="gmail_extra"><br class=""></div></div></div></blockquote><div class=""><br class=""></div></span><div class="">Sequence.lazy.filter returns a Sequence.</div></div></div></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Ah, right. Collection can refine the associatedtype and constrain to Collection, yes?</div><div class=""><br class=""></div></div></div></div>
</div></blockquote></div><br class=""><div class="">…yes, I think so. But that’s as far as we’d want to go e.g. a lazily filtered random-access collection is only bi-directional.</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>