Probably in a library. The only reasons to make it a built-in would be to allow random-access literals (like int x[] = { ... }; in C++) or to use them in other built-ins. I really don't want to deal with the syntactic idiosyncrasies.
There should probably be a mutable interface and a builder. The builder so that a full structure can be created in an initializer, and mutability so that algorithms (like sorting) can operate on them.
Probably in a library. The only reasons to make it a built-in would be to allow random-access literals (like
int x[] = { ... };
in C++) or to use them in other built-ins. I really don't want to deal with the syntactic idiosyncrasies.There should probably be a mutable interface and a builder. The builder so that a full structure can be created in an initializer, and mutability so that algorithms (like sorting) can operate on them.