emacs.d/clones/lisp/www.cliki.net/SERIES.html
2022-10-07 15:47:14 +02:00

55 lines
No EOL
4.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CLiki: Series</title>
<link rel="alternate" type="application/atom+xml" title="ATOM feed of edits to current article"
href="https://www.cliki.net/site/feed/article.atom?title=Series">
<link rel="stylesheet" href="static/css/style.css">
<link rel="stylesheet" href="static/css/colorize.css">
</head>
<body>
<span class="hidden">CLiki - Series</span>
<div id="content"><div id="content-area"><div id="article-title">Series</div><div id="article">A library providing data structure that combines aspects of sequences, (lazy) streams and loops, using a technique known as “fusion” or “deforestation”. 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.<p>Series is in Quicklisp:<p><pre>
(ql:quickload :series)
(in-package :series)
</pre><p>The library was originally developed by Richard C. Waters, and a description of it appeared in 1990 as Appendix A of the <a href="http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/html/cltl/cltl2.html">second edition of the book <em>Common Lisp - The Language</em></a> by Guy L. Steele. More docs and examples can be found in <a href="http://hdl.handle.net/1721.1/6035">AIM 1082</a> and <a href="http://hdl.handle.net/1721.1/6031">AIM 1083 from MIT</a>.<p>The <a href="http://series.sourceforge.net/">project (SourceForge)</a> is now maintained by Fernando D. Mato Mira. It has a git repo <a>at SourceForge</a> and an unofficial <a href="https://github.com/tokenrove/series">GitHub mirror</a>.<p>Series is available for <a href="SBCL.html" class="internal">SBCL</a>, <a href="CMUCL.html" class="internal">CMUCL</a>, <a href="CLISP.html" class="internal">CLISP</a> and some commercial Common Lisp implementations. It is distributed under the terms of the MIT license.<p><h3> Documentation </h3><p>There are more user doc and links <a href="https://github.com/tokenrove/series/wiki/Documentation"> on the github mirror's wiki</a>.<p>Many examples in the <a href="https://lispcookbook.github.io/cl-cookbook/iteration.html">iteration</a> page of the CL Cookbook.<p><h3> Related projects </h3><p>See <a href="https://github.com/mikelevins/taps">taps</a>, a library that offers conveniences to work with Series (take, tail, any, contains?, drop, filter, …)<p><h3> Articles </h3><p>See <a href="http://malisper.me/2016/04/13/loops-in-lisp-part-4-series/">http://malisper.me/2016/04/13/loops-in-lisp-part-4-series/</a>.<p><hr>
<a href="data&#32;structure.html" class="category">data structure</a>, <a href="language&#32;extension.html" class="category">language extension</a></div></div>
<div id="footer" class="buttonbar"><ul><li><a href="Series.html">Current version</a></li>
<li><a href="https://www.cliki.net/site/history?article=Series">History</a></li>
<li><a href="https://www.cliki.net/site/backlinks?article=Series">Backlinks</a></li><li><a href="https://www.cliki.net/site/edit-article?title=Series&amp;from-revision=3757504301">Edit</a></li><li><a href="https://www.cliki.net/site/edit-article?create=t">Create</a></li></ul></div>
</div>
<div id="header-buttons" class="buttonbar">
<ul>
<li><a href="https://www.cliki.net/">Home</a></li>
<li><a href="https://www.cliki.net/site/recent-changes">Recent Changes</a></li>
<li><a href="CLiki.html">About</a></li>
<li><a href="Text&#32;Formatting.html">Text Formatting</a></li>
<li><a href="https://www.cliki.net/site/tools">Tools</a></li>
</ul>
<div id="search">
<form action="https://www.cliki.net/site/search">
<label for="search_query" class="hidden">Search CLiki</label>
<input type="text" name="query" id="search_query" value="" />
<input type="submit" value="search" />
</form>
</div>
</div>
<div id="pageheader">
<div id="header">
<span id="logo">CLiki</span>
<span id="slogan">the common lisp wiki</span>
<div id="login"><form method="post" action="https://www.cliki.net/site/login">
<label for="login_name" class="hidden">Account name</label>
<input type="text" name="name" id="login_name" class="login_input" />
<label for= "login_password" class="hidden">Password</label>
<input type="password" name="password" id="login_password" class="login_input" />
<input type="submit" name="login" value="login" id="login_submit" /><br />
<div id="register"><a href="https://www.cliki.net/site/register">register</a></div>
<input type="submit" name="reset-pw" value="reset password" id="reset_pw" />
</form>
</div>
</div>
</div>
</body></html>