Skip to content

Commit

Permalink
Iterators.filter, for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Mar 17, 2017
1 parent 238c093 commit 23fe310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
julia 0.5
Compat 0.9.5
Compat 0.18.0
Polynomials
Iterators
5 changes: 1 addition & 4 deletions test/permutations.jl
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using Combinatorics
using Base.Test

if isdefined(Base, :Iterators)
import Base.Iterators: filter
end
using Compat.Iterators

# permutations
@test collect(permutations("abc")) == Any[['a','b','c'],['a','c','b'],['b','a','c'],
Expand Down

0 comments on commit 23fe310

Please sign in to comment.