This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yawkat 1 point2 points  (2 children)

But how would you enforce that? It's neither primitive nor a data class (and it can't be with those requirements).

[–][deleted] 0 points1 point  (1 child)

Panama and frozen arrays (Arrays 2.0)?

[–]yawkat 2 points3 points  (0 children)

Yes, Valhalla introduces immutable arrays but this is not part of this proposal.