func tupleFrom<T>(head: T, tail: (T...)) -> (T, T...) { (head, tail...) } let a: Int = 2 let b: Int = (3, 5) let c: (Int, Int, Int) = tupleFrom(head: a, tail: b) // (2, 3, 5)
b
(Int, Int)