[swift-evolution] Proposal: Replace ?? by an (optional) argument to ?
mayoff at dqd.com
Mon Jan 25 20:52:27 CST 2016
`x?(false)` already has a meaning. If `x` is of type `Optional<(Bool) ->
()>`, then `x?(false)` means “if x is None, do nothing; if x is Some(f),
I don't think the end is "the most important position", and I don't think
the default value is necessarily "the least important part of the
I like the existing ?? operator more than this idea.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution