-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Warning: [a] concatenation is deprecated; use [a;] instead #10290
Comments
@jiahao, I did read the threads, but the change is still not clear to me. Could you please elaborate on the current syntax for what I'm trying to achieve? |
julia> [1:3;]
3-element Array{Int64,1}:
1
2
3 Please note that 0.4-dev is considered not suitable for general use. |
How is the semicolon solving the issue here? |
[1:2] is an |
Thank you @jakebolewski, I don't like the extra semicolon myself, but will assume Julia devs have a good reason for it. |
@juliohm You may prefer |
Thank you @garborg, will keep this option in mind. |
The reason is so
In the long run we're better off with simpler more predictable abstractions. |
@JeffBezanson nice, KISS philosophy. |
Is this undesired syntax?
The text was updated successfully, but these errors were encountered: