Series is a library
for operating on series
, a data structure
similar to a sequence. Unlike sequences, in most cases operations on series may be composed functionally but execute iteratively without generating intermediate values. So series offer both the expressiveness of functional programming and the efficiency of iterative programming.
The library was originally developed by Richard C. Waters, and a description of it appeared in 1990 as Appendix A of the second edition of the book Common Lisp - The Language by Guy L. Steele. More docs and examples can be found in AIM 1082 and AIM 1083 from MIT.
The project is now maintained by Fernando D. Mato Mira and it has a git repo: git://git.code.sf.net/p/series/series.
Series is available for CMUCL, CLISP and some commercial Common Lisp implementations. It is distributed under the terms of the MIT license.