Implemented proposals for Swift 3 SE-0002: Removing currying func declaration syntax ã«ãªã¼åé¢æ°å®£è¨æ§æãåé¤ func foo(x: Int)(y: Int) ã®æå¹æ§ã¯éå®çã§ãå®è£ ãè¤éã«ãªãããåé¤ããå¿ è¦ãããã¾ãã ãµã³ãã« // Before: func curried(x: Int)(y: String) -> Float { return Float(x) + Float(y)! } // After: func curried(x: Int) -> (String) -> Float { return {(y: String) -> Float in return Float(x) + Float(y)! } } SE-0003: Removing var from Function
{{#tags}}- {{label}}
{{/tags}}