Why does the last statement fail to compile with the error: Binary operator \'==\' cannot be applied to two \'[[Simple]]’ operands, and is there a way way to mo
Binary operator \'==\' cannot be applied to two \'[[Simple]]’ operands
You can do it by implementing a == function for it, like following:
==
func == (lhs: [[Simple]], rhs: [[Simple]]) -> Bool { //your code }