Avatar
↓もダメでした。 func fix<T, U>(_ f: @escaping (T...) -> U) -> ([T]) -> U { // cannot convert return expression of type '(T...) -> U' to return type '([T]) -> U' return f } func fix<T, U>(_ f: @escaping (T...) -> U) -> ([T]) -> U { // cannot convert value of type '(T...) -> U' to type '([_]) -> _' in coercion return f as ([T]) -> U } (edited)