[swift-evolution] [pitch] Eliminate the "T1 -> T2" syntax, require "(T1) -> T2"

Brent Royal-Gordon brent at architechies.com
Fri Apr 15 16:54:34 CDT 2016


> So, `Void->Int` functions would work like this?
> let foo = bar(()) // returns Int

Yes.

-- 
Brent Royal-Gordon
Architechies



More information about the swift-evolution mailing list