<html><head><style>body{font-family:Helvetica,Arial;font-size:13px}</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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><div><div>Most programmers would probably love using them though.</div></div></span></blockquote></div><p><br></p><p>Myself, I’d not love using them. I also don’t like them in Python.</p><p><br></p><p>But not to dismiss the idea on personal merits, could you please elaborate on the details of „in” and „not in” usage?</p><p><br></p><p>1) What types could they be used with? SequenceType? Array? Dictionary? Set? Optional?&nbsp;</p><p>2) Should their usage be extensible to any type? Will there be a possibility for a type Foo to participate in?&nbsp;</p><p>```</p><p>let foo = Foo()</p><p>if bar in foo {}</p><p>if bar not in foo {}</p><p>```</p><p>3) Will the operators be usable only in `if` statement? What about case, where clauses etc?</p><p><br></p><p><br></p><p>Krzysztof</p><p><br></p><div><blockquote type="cite" class="clean_bq" style="font-family: Helvetica, Arial; font-size: 13px; font-style: normal; font-variant: 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><div><div><br><br>&gt;<span class="Apple-converted-space">&nbsp;</span><br>&gt; --<span class="Apple-converted-space">&nbsp;</span><br>&gt; Brent Royal-Gordon<br>&gt; Architechies<br>&gt;<span class="Apple-converted-space">&nbsp;</span><br><br>_______________________________________________<br>swift-evolution mailing list<br>swift-evolution@swift.org<br>https://lists.swift.org/mailman/listinfo/swift-evolution<br></div></div></span></blockquote></div></body></html>