[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNU ELPA] Stream version 2.3.0
From: |
ELPA update |
Subject: |
[GNU ELPA] Stream version 2.3.0 |
Date: |
Sun, 31 Mar 2024 05:57:23 -0400 |
Version 2.3.0 of package Stream has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.
Stream describes itself as:
=========================
Implementation of streams
=========================
More at https://elpa.gnu.org/packages/stream.html
## Summary:
This library provides an implementation of streams. Streams are
implemented as delayed evaluation of cons cells.
Functions defined in `seq.el' can also take a stream as input.
streams could be created from any sequential input data:
- 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
- ...
All functions are prefixed with "stream-".
All functions are tested in tests/stream-tests.el
Here is an example implementation of the Fibonacci numbers
implemented as in infinite stream:
(defun fib (a b)
(stream-cons a (fib b (+ a b))))
(fib 0 1)
## Recent NEWS:
[Not provided 🙁]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNU ELPA] Stream version 2.3.0,
ELPA update <=