[swift-evolution] [Idea] return if / return unless

Julian Dunskus julian.dunskus at gmail.com
Thu Aug 4 19:11:36 CDT 2016


On 05 Aug 2016, at 01:24, Brent Royal-Gordon <brent at architechies.com> wrote:
> 
>> 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>
> 

I read that, see paragraph three of the email you replied to (my second in this thread)


More information about the swift-evolution mailing list