Hi all,
I’m getting a method error when calling collect on an iterator on 0.6. Is this expected?
julia> type Iterable x::Float64 end
julia> Base.start(x::Iterable) = 0
julia> Base.next(x::Iterable, state) = (0, state+1)
julia> Base.done(x::Iterable, state) = state == 1
julia> collect(Iterable(0))
ERROR: MethodError: no method matching length(::Iterable)