Open
Description
Currently, vcat
on AbstractArrays uses the first argument to determine the type of AbstractArray to use for the result. A nice feature would be to have some sort of promotion that determines the result. In the example below, it would be nice to have a way to define that both of them return a DataArray (from the DataFrames package).
julia> [DataVector[1,3], [1,2]]
4-element Int64 DataArray:
1
3
1
2
julia> [[1,2],DataVector[1,3]]
4-element Int64 Array:
1
2
1
3