Skip to content
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

docs for collect() are incorrect #17439

Closed
mlubin opened this issue Jul 15, 2016 · 3 comments
Closed

docs for collect() are incorrect #17439

mlubin opened this issue Jul 15, 2016 · 3 comments
Assignees
Labels
docs This change adds or pertains to documentation

Comments

@mlubin
Copy link
Member

mlubin commented Jul 15, 2016

  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

@tkelman tkelman added the docs This change adds or pertains to documentation label Jul 15, 2016
@tkelman
Copy link
Contributor

tkelman commented Jul 22, 2016

ping @JeffBezanson

@JeffBezanson JeffBezanson self-assigned this Jul 22, 2016
@eschnett
Copy link
Contributor

Should this also be a news item for the release, near the description of foreach?

@tkelman
Copy link
Contributor

tkelman commented Aug 10, 2016

sure that would make sense

@tkelman tkelman added the needs news A NEWS entry is required for this change label Aug 10, 2016
mfasi pushed a commit to mfasi/julia that referenced this issue Sep 5, 2016
@KristofferC KristofferC removed the needs news A NEWS entry is required for this change label Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

No branches or pull requests

5 participants