-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is needed
Milestone
Description
The cat functions are currently very permissive:
julia> vcat([1], :a)
2-element Array{Any,1}:
1
:a
This can lead to confusion when non-array collections are passed and mysteriously treated as scalars, e.g.
julia> vcat([1], keys(Dict()))
2-element Array{Any,1}:
1
Any[]
So a similar situation to what we had before in broadcast. We should make the corresponding change to cat and require all arguments to be array-like somehow.
tkf, bramtayl, DilumAluthge, StefanKarpinski, Moelf and 9 more
Metadata
Metadata
Assignees
Labels
arrays[a, r, r, a, y, s][a, r, r, a, y, s]breakingThis change will break codeThis change will break codeneeds decisionA decision on this change is neededA decision on this change is needed