Extend arrays of arrays of T where T is Comparable

Viewed 360

I want to create an extension that would extend arrays of arrays of T, where T is Comparable ; a little bit like that:

extension Array where Element == Array<T: Comparable> {
}

Unfortunately this doesn't work.

Is there a way to do that ?

Thank you

1 Answers
Related