PooledArrays.jl icon indicating copy to clipboard operation
PooledArrays.jl copied to clipboard

ambiguity in vcat

Open bkamins opened this issue 11 months ago • 0 comments

We currently have the following design issue:

julia> vcat([1,2,3], PooledArray([1,2,3]))
ERROR: MethodError: vcat(::Vector{Int64}, ::PooledVector{Int64, UInt32, Vector{UInt32}}) is ambiguous.

julia> vcat(PooledArray([1,2,3]), [1,2,3])
ERROR: MethodError: vcat(::PooledVector{Int64, UInt32, Vector{UInt32}}, ::Vector{Int64}) is ambiguous.

Related to https://julialang.zulipchat.com/#narrow/stream/274208-helpdesk-.28published.29/topic/vcat.20dataframes.20with.20pooledarrays

bkamins avatar Mar 23 '24 21:03 bkamins