├── .github └── workflows │ └── ci.yaml ├── .gitignore ├── Cargo.toml ├── LICENSE-MIT ├── README.md ├── examples ├── lazy.rs └── simple.rs ├── src ├── delegate.rs ├── impls │ ├── array.rs │ ├── collections │ │ ├── binary_heap.rs │ │ ├── btree_map.rs │ │ ├── btree_set.rs │ │ ├── hash_map.rs │ │ ├── hash_set.rs │ │ ├── linked_list.rs │ │ ├── mod.rs │ │ └── vec_deque.rs │ ├── mod.rs │ ├── slice.rs │ ├── str.rs │ ├── string.rs │ └── vec.rs ├── lazy │ ├── lazy_chain.rs │ ├── lazy_cloned.rs │ ├── lazy_copied.rs │ ├── lazy_cycle.rs │ ├── lazy_enumerate.rs │ ├── lazy_filter.rs │ ├── lazy_filter_map.rs │ ├── lazy_flat_map.rs │ ├── lazy_flatten.rs │ ├── lazy_map.rs │ ├── lazy_map_while.rs │ ├── lazy_rev.rs │ ├── lazy_scan.rs │ ├── lazy_skip.rs │ ├── lazy_skip_while.rs │ ├── lazy_step_by.rs │ ├── lazy_take.rs │ ├── lazy_zip.rs │ └── mod.rs ├── lib.rs └── util.rs └── tests ├── growable.rs ├── iterable.rs ├── iterable_seq.rs └── lazy.rs /.github/workflows/ci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/.github/workflows/ci.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | main.rs 3 | Cargo.lock 4 | .idea -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/README.md -------------------------------------------------------------------------------- /examples/lazy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/examples/lazy.rs -------------------------------------------------------------------------------- /examples/simple.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/examples/simple.rs -------------------------------------------------------------------------------- /src/delegate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/delegate.rs -------------------------------------------------------------------------------- /src/impls/array.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/array.rs -------------------------------------------------------------------------------- /src/impls/collections/binary_heap.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/binary_heap.rs -------------------------------------------------------------------------------- /src/impls/collections/btree_map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/btree_map.rs -------------------------------------------------------------------------------- /src/impls/collections/btree_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/btree_set.rs -------------------------------------------------------------------------------- /src/impls/collections/hash_map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/hash_map.rs -------------------------------------------------------------------------------- /src/impls/collections/hash_set.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/hash_set.rs -------------------------------------------------------------------------------- /src/impls/collections/linked_list.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/linked_list.rs -------------------------------------------------------------------------------- /src/impls/collections/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/mod.rs -------------------------------------------------------------------------------- /src/impls/collections/vec_deque.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/collections/vec_deque.rs -------------------------------------------------------------------------------- /src/impls/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/mod.rs -------------------------------------------------------------------------------- /src/impls/slice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/slice.rs -------------------------------------------------------------------------------- /src/impls/str.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/str.rs -------------------------------------------------------------------------------- /src/impls/string.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/string.rs -------------------------------------------------------------------------------- /src/impls/vec.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/impls/vec.rs -------------------------------------------------------------------------------- /src/lazy/lazy_chain.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_chain.rs -------------------------------------------------------------------------------- /src/lazy/lazy_cloned.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_cloned.rs -------------------------------------------------------------------------------- /src/lazy/lazy_copied.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_copied.rs -------------------------------------------------------------------------------- /src/lazy/lazy_cycle.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_cycle.rs -------------------------------------------------------------------------------- /src/lazy/lazy_enumerate.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_enumerate.rs -------------------------------------------------------------------------------- /src/lazy/lazy_filter.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_filter.rs -------------------------------------------------------------------------------- /src/lazy/lazy_filter_map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_filter_map.rs -------------------------------------------------------------------------------- /src/lazy/lazy_flat_map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_flat_map.rs -------------------------------------------------------------------------------- /src/lazy/lazy_flatten.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_flatten.rs -------------------------------------------------------------------------------- /src/lazy/lazy_map.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_map.rs -------------------------------------------------------------------------------- /src/lazy/lazy_map_while.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_map_while.rs -------------------------------------------------------------------------------- /src/lazy/lazy_rev.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_rev.rs -------------------------------------------------------------------------------- /src/lazy/lazy_scan.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_scan.rs -------------------------------------------------------------------------------- /src/lazy/lazy_skip.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_skip.rs -------------------------------------------------------------------------------- /src/lazy/lazy_skip_while.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_skip_while.rs -------------------------------------------------------------------------------- /src/lazy/lazy_step_by.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_step_by.rs -------------------------------------------------------------------------------- /src/lazy/lazy_take.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_take.rs -------------------------------------------------------------------------------- /src/lazy/lazy_zip.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/lazy_zip.rs -------------------------------------------------------------------------------- /src/lazy/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lazy/mod.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/util.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/src/util.rs -------------------------------------------------------------------------------- /tests/growable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/tests/growable.rs -------------------------------------------------------------------------------- /tests/iterable.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/tests/iterable.rs -------------------------------------------------------------------------------- /tests/iterable_seq.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/tests/iterable_seq.rs -------------------------------------------------------------------------------- /tests/lazy.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nooberfsh/iterable/HEAD/tests/lazy.rs --------------------------------------------------------------------------------