-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arrays #39
Comments
Note: Arrays are primitives, and not generic. |
An array literal could also just set notation. This might make parsing logic a little more difficult, but it's still doable:
|
The problem with that is, how would you declare an array of known size? Currently: However, this conflicts with set notation
|
One option is reserving an
Not sure how attractive that is.
In C++, you can say In Bonobo? Maybe Not very consistent with
|
Our current consensus:
Arrays are technically anonymous (though the analyzer can easily compare them), and have a fixed size, known both to the user and the compiler. They are not generic. Collections, though, would be class-based, and generic. |
The text was updated successfully, but these errors were encountered: