flatten and weird array types
Should things like this work?
julia> using FlexiMaps, JLArrays, StaticArrays
julia> FlexiMaps.flatten((SA[1,2], SA[3,4])) # size is known
ERROR: MethodError: no method matching resize!(::MVector{2, Int64}, ::Int64)
julia> FlexiMaps.flatmap(jl, ([1,2], [3,4])) # maybe impossible?
ERROR: MethodError: no method matching resize!(::JLArray{Int64, 1}, ::Int64)
(No strong need, just messing around.) stack((SA[1,2], SA[3,4])) and stack(jl, ([1,2], [3,4])) are much easier, of course, as the first element fixes the size.