[swift-evolution] [Idea] return if / return unless
Brent Royal-Gordon
brent at architechies.com
Thu Aug 4 18:24:36 CDT 2016
> On Aug 4, 2016, at 6:38 AM, Julian Dunskus via swift-evolution <swift-evolution at swift.org> wrote:
>
> return nil unless let thing = things[index]
On the `unless` part, at least, see the "Rename guard to unless" section in Commonly Rejected Changes: <https://github.com/apple/swift-evolution/blob/master/commonly_proposed.md>
--
Brent Royal-Gordon
Architechies
More information about the swift-evolution
mailing list