There is a years-old proposal for deeply-comparable types: https://github.com/tc39/proposal-record-tuple
Maybe we'll see it one day.
Maybe we'll see it one day.
For example I would like a Map<array, any> that compare keys by shallow equality, so to behave like multidimensional tables