]> git.eshelyaron.com Git - emacs.git/commit
Add a new streaming library stream.el
authorNicolas Petton <nicolas@petton.fr>
Fri, 31 Jul 2015 09:42:34 +0000 (11:42 +0200)
committerNicolas Petton <nicolas@petton.fr>
Fri, 31 Jul 2015 09:42:34 +0000 (11:42 +0200)
commitee7138acd38a4328b075e11e23bc0a3721fc2d08
tree2c9b0af87b1c83f87c4711ddea87a2f4ebb4e875
parentcbb289e13eff6b187a942658971aa5419e3ed920
Add a new streaming library stream.el

stream.el provides an implementation of streams.  Streams are
implemented as delayed evaluation of cons cells.

The implementation is close to the one in the SICP
book (https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-24.html).

Streams could be created from any sequencial input data, including
sequences, , making operation on them lazy, a set of 2 forms (first and
rest), making it easy to represent infinite sequences, buffers (by
character), buffers (by line), buffers (by page), IO streams, orgmode
table cells, etc.

* lisp/emacs-lisp/stream.el: New file.
* test/automated/stream-tests.el: New file.
etc/NEWS
lisp/emacs-lisp/stream.el [new file with mode: 0644]
test/automated/stream-tests.el [new file with mode: 0644]