We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
collect(element_type, collection) Return an array of type Array{element_type,1} of all items in a collection.
New on 0.5:
julia> collect(Int,1) 0-dimensional Array{Int64,0}: 1
On 0.4 this returns a Vector{Int}. CC @yuyichao
Vector{Int}
The text was updated successfully, but these errors were encountered:
ping @JeffBezanson
Sorry, something went wrong.
809138f
Should this also be a news item for the release, near the description of foreach?
foreach
sure that would make sense
fix JuliaLang#17439, update docs for collect to reflect dim-preserv…
collect
bfeb2e1
…ing behavior
JeffBezanson
No branches or pull requests
New on 0.5:
On 0.4 this returns a
Vector{Int}
. CC @yuyichaoThe text was updated successfully, but these errors were encountered: