I was doing some swift and accidentally I’ve spotted this functionality - func sum(x: Int, y: Int) -> Int {
return x + y
} let params = (1,1)
sum(params) WAAAT!
It’s possible to pass a tuple instead of arguments list
I’ve read that this is possible in Haskell and Scala, but…