One element tuples were pitched and rejected in [Pitch] One-Element Tuples.
Maybe you want something like this?
func first<T, each U>(_ tuple: (T, repeat each U)) -> T {
return tuple.0
}
One element tuples were pitched and rejected in [Pitch] One-Element Tuples.
Maybe you want something like this?
func first<T, each U>(_ tuple: (T, repeat each U)) -> T {
return tuple.0
}