janEbert
janEbert
Assume you have a `Vector{Vector{Int}}` of sequence data. You cannot construct an empty element for it using `eltype`. Sorry, not looking for other methods of `empty` was a silly oversight...
Hehe, you are right. I was just confused when it didn't work and wanted to patch the hole since most methods usually take types rather than instances (or both). >...
I also encountered another use case. Pre-allocating a `Vector` of `Array`s of high dimensionality requires you to write an array comprehension with the awkward `Array{Int, 25}(undef, Tuple(Iterators.repeated(0, 25)))` constructor. Even...
Hey Stefan, so you are in favour of something like `empty(a, types...) = empty(typeof(a), types...)`? I'm sorry this hasn't moved along at all, I'm a bit busy this month but...
Hi Max, sorry from my side; after all I promised to add stuff to the PR but never did. I haven't used Julia deeply in a while but if you...