Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
bramtayl committed Jul 16, 2019
1 parent 4df9750 commit 7a96aec
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/rows.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
struct Redirect{Old, IndexToIndex}
old::Old
index_to_index::IndexToIndex
end

"""
Enumerate{Unenumerated}
Expand All @@ -25,7 +20,6 @@ end

IteratorEltype(::Type{Enumerate{Unenumerated}}) where {Unenumerated} =
EltypeUnknown()

IteratorSize(::Type{Enumerate{Unenumerated}}) where {Unenumerated} =
IteratorSize(Unenumerated)
length(enumerated::Enumerate) = length(enumerated.unenumerated)
Expand All @@ -43,7 +37,6 @@ end
export Enumerate

at_index(unordered, (index, key)) = unordered[index]

key_view(unordered, index_keys) = Generator(
let unordered = unordered
index_key -> at_index(unordered, index_key)
Expand Down

0 comments on commit 7a96aec

Please sign in to comment.