[swift-evolution] ternary operator ?: suggestion

James Campbell james at supmenow.com
Fri Jan 8 12:41:22 CST 2016


We could allow inline of statements to do this

Var value = 10 if case let v as Int
Value = 20 if case let v as String

Sent from my iPhone

> On 6 Jan 2016, at 07:41, Paul Ossenbruggen via swift-evolution <swift-evolution at swift.org> wrote:
> 
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution


More information about the swift-evolution mailing list