On May 13, 2016, at 11:14 AM, Cole Campbell via swift-evolution 
<[email protected]> wrote:
> 
> 
>> +1. In general, I think we should allow implicit arguments, without 
>> requiring the closure to use all the implicit $n variables like we do today. 
>> These should all be valid:
>> 
>> let _: () -> () = {}
>> let _: (Int) -> () = {}
>> let _: (Int, Int) -> Int = { 5 }
>> let _: (Int, Int) -> Int = { $0 }
>> let _: (Int, Int) -> Int = { $1 }
> 
> +1. This would be excellent.

+1. Good riddance to bad code baggage.

-- E

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to