Avatar
@swift-5.10.1 @swift-6.0-dev func transform<each T>(_ v: (repeat each T)) -> (repeat each T) { return (repeat each v) } let myTuple = (1, "Hello", 3.14) let transformedTuple = transform(myTuple) print(transformedTuple)