Revision e65c5264cba8f9feb2f288bfcd073deb512c8fa2 authored by Sascha Mann on 07 December 2020, 21:54:12 UTC, committed by GitHub on 07 December 2020, 21:54:12 UTC
Many iterators have an internal counter of iterations for the abort condition, e.g. `Squares` in the example. When implementing such an iterator while following this example, the naming can be a bit misleading because `i` in the example is _not_ a counter but instead the next item of the iteration. However, `i` is also commonly used as a counter in iterations. I think renaming it to `item` makes it a bit clearer. (cc @miguelraz)
1 parent b58e879
File | Mode | Size |
---|---|---|
Artifacts | ||
Base64 | ||
CRC32c | ||
CompilerSupportLibraries_jll | ||
Dates | ||
DelimitedFiles | ||
Distributed | ||
FileWatching | ||
Future | ||
GMP_jll | ||
InteractiveUtils | ||
LazyArtifacts | ||
LibCURL_jll | ||
LibGit2 | ||
LibGit2_jll | ||
LibOSXUnwind_jll | ||
LibSSH2_jll | ||
LibUV_jll | ||
LibUnwind_jll | ||
Libdl | ||
LinearAlgebra | ||
Logging | ||
MPFR_jll | ||
Markdown | ||
MbedTLS_jll | ||
Mmap | ||
MozillaCACerts_jll | ||
OpenBLAS_jll | ||
OpenLibm_jll | ||
PCRE2_jll | ||
Printf | ||
Profile | ||
REPL | ||
Random | ||
SHA | ||
Serialization | ||
SharedArrays | ||
Sockets | ||
SparseArrays | ||
SuiteSparse | ||
SuiteSparse_jll | ||
TOML | ||
Test | ||
UUIDs | ||
Unicode | ||
Zlib_jll | ||
dSFMT_jll | ||
libLLVM_jll | ||
nghttp2_jll | ||
p7zip_jll | ||
.gitignore | -rw-r--r-- | 188 bytes |
ArgTools.version | -rw-r--r-- | 82 bytes |
Downloads.version | -rw-r--r-- | 84 bytes |
LibCURL.version | -rw-r--r-- | 80 bytes |
Makefile | -rw-r--r-- | 3.7 KB |
NetworkOptions.version | -rw-r--r-- | 94 bytes |
Pkg.version | -rw-r--r-- | 77 bytes |
Statistics.version | -rw-r--r-- | 86 bytes |
Tar.version | -rw-r--r-- | 72 bytes |
Computing file changes ...