You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could Lazy.jl overwrite zip to support zip with an infinite list? I tried the following but got an error:
julia>zip(Lazy.range(1),range(1,5)) |> collect
ERROR: StackOverflowError:in (::Lazy.##35#36{Int64})() at /home/ngphuoc/.julia/v0.5/Lazy/src/Lazy.jl:92inrealise!(::Lazy.LazyList) at /home/ngphuoc/.julia/v0.5/Lazy/src/Lazy.jl:78inrealise(::Lazy.LazyList) at /home/ngphuoc/.julia/v0.5/Lazy/src/Lazy.jl:86inlength(::Lazy.LazyList) at /home/ngphuoc/.julia/v0.5/Lazy/src/liblazy.jl:69 (repeats 58169 times)
in _min_length at ./iterator.jl:8 [inlined]
in length at ./iterator.jl:92 [inlined]
in _similar_for at ./array.jl:262 [inlined]
in _collect at ./array.jl:277 [inlined]
in collect at ./array.jl:273 [inlined]
in|>(::Base.Zip2{Lazy.LazyList,UnitRange{Int64}}, ::Base.#collect) at ./operators.jl:350ineval_user_input(::Any, ::Base.REPL.REPLBackend) at ./REPL.jl:64inmacro expansion at ./REPL.jl:95 [inlined]
in (::Base.REPL.##3#4{Base.REPL.REPLBackend})() at ./event.jl:68
The text was updated successfully, but these errors were encountered:
Could Lazy.jl overwrite zip to support zip with an infinite list? I tried the following but got an error:
The text was updated successfully, but these errors were encountered: