ditto icon indicating copy to clipboard operation
ditto copied to clipboard

Add iterator to List, Set and Map

Open davidrusu opened this issue 7 years ago • 5 comments

Adds List::iter(&self)

I'll likely be wanting iterators for Set and Map soon as well, I'll send PR's as needs come up

davidrusu avatar May 09 '18 15:05 davidrusu

Updated to use impl Trait which just landed in Rust 1.26 stable, see: https://blog.rust-lang.org/2018/05/10/Rust-1.26.html

davidrusu avatar May 10 '18 19:05 davidrusu

Since the impl Trait syntax makes things so convenient, I went ahead and added iter to map and set

davidrusu avatar May 10 '18 20:05 davidrusu

@alex-shapiro do you mind to merge it?

flosse avatar Oct 07 '18 17:10 flosse

@flosse I've been experimenting with the design of a CRDT library over at: https://github.com/rust-crdt/rust-crdt You may be interested to poke around (readme and published docs haven't been updated so you'll have to read the code to see the latest design, I'll get around to updating it soon).

davidrusu avatar Oct 10 '18 15:10 davidrusu

@davidrusu it looks like @alex-shapiro has abandoned this repo :(

ngortheone avatar Oct 01 '19 15:10 ngortheone