[swift-users] Extending 2D arrays of genetic type

Trevör ANNE DENISE trevor.annedenise at icloud.com
Sun Jul 30 05:19:29 CDT 2017


I am trying to extend a 2D array, doing something like this:
extension Array where Element == Array<T: Comparable> {
}

But this doesn't work ! Is there a way to do this ?

Thank you ! :)

Trevör


More information about the swift-users mailing list