Are `collect(a:b)` and `collect(range(a, b))` supposed to give the same 
results? Does the following make sense?


julia> typeof(NaN:5)
FloatRange{Float64}

julia> collect(NaN:5)
0-element Array{Float64,1}

julia> typeof(range(NaN, 5))
FloatRange{Float64}

julia> collect(range(NaN, 5))
5-element Array{Float64,1}:
 NaN
 NaN
 NaN
 NaN
 NaN

This is on 0.4.0, commit 6becc96 on Windows 7 64 bit.
michele

Reply via email to