Hacker News new | ask | show | jobs
by yoz-y 3982 days ago
You can write a Swift function with curried parameters.

    func addMultiple(#a: Int)(b: Int)(c: Int) -> Int {
      return a + b + c
    }
It can not auto-curry parameters, but at worst you can wrap functions in their curried couter-parts.
1 comments

Interesting. Does addMultiple(7) bind a or c?