iterator

https://github.com/thierryvolpiatto/iterator.git

git clone 'git://github.com/thierryvolpiatto/iterator.git'
1

iterator

Provide iterator functions for emacs

Usage:

(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

Note:

Some of these features are inlined in helm and ioccur.