We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81d89db commit 53696e7Copy full SHA for 53696e7
src/lazy_iterators.jl
@@ -32,7 +32,7 @@ Iterator over the elements of `data` mapped by `f`. This is similar to
32
`Base.Generator(f, data)` except that the `eltype` of a `LazyMap` is given at
33
construction while the `eltype` of `Base.Generator(f, data)` is `Any`.
34
"""
35
-struct LazyMap{T,VT,F}
+struct LazyMap{T,VT,F} <: AbstractVector{T}
36
f::F
37
data::VT
38
end
0 commit comments