Skip to content

Commit

Permalink
Use IterTools.jl instead of Iterators.jl (#5)
Browse files Browse the repository at this point in the history
* fix #4

Deprecate Iterators.jl in favour of IterTools.jl

* require IterTools
  • Loading branch information
IlyaOrson authored and ahwillia committed Jun 30, 2017
1 parent 8fb75ca commit e54b4d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
julia 0.5
Iterators
IterTools
3 changes: 1 addition & 2 deletions src/CatViews.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ module CatViews

using Base.Cartesian
import Base.ReshapedArray
isdefined(Base, :Iterators) && (const repeated = Base.Iterators.repeated)
import Iterators: chain, repeated
import IterTools: chain, repeated

export CatView, splitview, vecidx

Expand Down

0 comments on commit e54b4d9

Please sign in to comment.