mattbierner / hamt

Javascript Hash Array Mapped Trie
MIT License
251 stars 16 forks source link

Lazy `@@Iterator` support #13

Closed mattbierner closed 8 years ago

mattbierner commented 8 years ago

Lazy iteration over key values similar to map; https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map

Should also be investigate creating versions of keys and values and pairs that return iterators instead of arrays.

Probably would be implemented using some generic traverse type method with continuations.