https://github.com/thierryvolpiatto/iterator.git
git clone 'git://github.com/thierryvolpiatto/iterator.git'
Provide iterator functions for emacs
(setq foo '(a b c d e))
(setq foo-iterator (iterator:list foo))
(iterator:next foo-iterator)
=>a
(iterator:next foo-iterator)
=>b
(iterator:next foo-iterator)
=>c
(iterator:next foo-iterator)
=>d
(iterator:next foo-iterator)
=>e
(iterator:next foo-iterator)
=>nil