Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make isempty(itr) work for general iterables (as mentioned in #5797)

  • Loading branch information...
commit 13753592b0d0bf3282ae1e83e1eb247b0eff50df 1 parent 1e74ecc
@stevengj stevengj authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  base/iterator.jl
View
2  base/iterator.jl
@@ -1,3 +1,5 @@
+isempty(itr) = done(itr, start(itr))
+
# enumerate
immutable Enumerate{I}
Please sign in to comment.
Something went wrong with that request. Please try again.