Hi, 

shouldn't this be allowed?

append!(some_int_array, repeated(1, 10))

ERROR: MethodError: `append!` has no method matching 
append!(::Array{Int64,1}, ::Base.Take{Base.Repeated{Int64}})

Closest candidates are:

  append!{T}(::Array{T,1}, ::AbstractArray{T,1})


The same with zip, drop, filter, and enumerate. 


One could `collect` the second argument into a vector, but that would 
allocate memory. 

Thanks, 

Davide

Reply via email to