Re:Swift UTF-8 String
by dbaupp on Friday March 22, 2019 @02:33AM
(#19460082)
It doesn't have automatic currying. What code/docs are you getting that impression from?
[ Parent
| on HN ]
Re:Swift UTF-8 String
by plorkyeran on Friday March 22, 2019 @11:32AM
(#19463522)
Swift used to have a special syntax for defining automatically curried functions, but it was removed in Swift 3: https://github.com/apple/swift-evolution/blob/master/proposa...
Indeed, and the compiler still had the relicts of that functionality at least until Swift 4. I'm wondering how they got the impression Swift still has currying, given it sounded like a recent "discovery".