Skip to content

Commit 53696e7

Browse files
authored
Make LazyMap and AbstractVector (#253)
1 parent 81d89db commit 53696e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lazy_iterators.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Iterator over the elements of `data` mapped by `f`. This is similar to
3232
`Base.Generator(f, data)` except that the `eltype` of a `LazyMap` is given at
3333
construction while the `eltype` of `Base.Generator(f, data)` is `Any`.
3434
"""
35-
struct LazyMap{T,VT,F}
35+
struct LazyMap{T,VT,F} <: AbstractVector{T}
3636
f::F
3737
data::VT
3838
end

0 commit comments

Comments
 (0)