<div dir="ltr">What isn't clear to me from Chris's or John's comments is why the `if let x? = foo` syntax was taken away. Was it for backward-compatibility? To me, this syntax does have special syntactic support, and also seems to make it clearer what's going on. It's also analogous to Swift's type inference for generic <T?> types, for example:<div><br></div><div> func doSomething<T? where T: Equatable>(x: T?) -> T { ... }</div><div><div><br></div><div>Note the T? in brackets. If I pass an Int? to doSomething, the type is "unwrapped" and T becomes Int. It seems like `if let x? = foo` would follow the same pattern.</div><div><br></div><div>Was the syntax taken away for reasons unlikely to change, or is it up for discussion? :)</div><div><br></div>-- <br><div class="gmail_signature">Tyler Mandry</div>
</div></div>