Hacker News new | ask | show | jobs
by tobz1000 723 days ago
There is a years-old proposal for deeply-comparable types: https://github.com/tc39/proposal-record-tuple

Maybe we'll see it one day.

1 comments

I highly doubt this will go anywhere, it is much more likely to get some custom equality in data structures.

For example I would like a Map<array, any> that compare keys by shallow equality, so to behave like multidimensional tables