Lemme also take this occasion to address a likely undertone here: that prioritizing array makes the language less “functional”.
First, being functional is a mean to an end. Usually it works out well, but we’re not here to write functional code first: it’s product first, functional second. If being too FP gets in the way of shipping, then FP has to make concessions. This isn’t new; it’s called OCaml after all. The O is such concession, even if used less often.
Second, array is not less functional. The mutability of it is, but as said above, it can be avoided. Prioritizing random access also isn’t less functional. Array can also be pattern matched on, albeit list with the exhaustive check does help avoid more problems.
Back on topic: it’s been just a day since the release of the new syntax, but we’re already getting some pretty good feedback regarding the syntax decisions. We might revisit list
. Thanks.