source: project/loop/loop.html @ 1

Last change on this file since 1 was 1, checked in by azul, 15 years ago

Import everything.

File size: 2.1 KB
Line 
1<html><head><title>loop</title>
2
3<style type="text/css">
4  <!--
5      CODE {
6             color: #666666;
7           }
8      EM {
9           font-weight: bold;
10           font-style: normal;
11         }
12      DT.function { 
13                    background: #f5f5f5;
14                    color: black;
15                    padding: 0.1em;
16                    border: 1px solid #bbbaaf;
17                    font-family: monospace;
18                  }
19      PRE {
20        background: #efeee0;
21        padding: 0.1em;
22        border: 1px solid #bbbaaf;
23      }
24    -->
25</style></head>
26  <body>
27
28<center><img src="egg.jpg"></center>
29<center><a href="index.html">back</a></center>
30
31<h2>loop</h2>
32
33<h3>Description:</h3>
34The Common Lisp <code>loop</code> macro.
35
36<h3>Author:</h3>
37Heinrich Taube, ported to CHICKEN by Lars Rustemeier.
38
39<h3>Version:</h3>
40<ul>
41<li>1.1
42srfi-1 was required in <code>loop.scm</code>
43<li>1.0
44</ul>
45
46<h3>Usage:</h3>
47<pre>(require-extension loop)
48</pre>
49
50<h3>Download:</h3>
51<a href="loop.egg">loop.egg</a>
52
53<h3>Documentation:</h3>
54
55<dl><dt class="function"><em>(macro)</em> (loop CLAUSE ...)
56</dt><dd>
57<p>Executes the forms in CLAUSE ... repeatedly. Most loop features of CLtL2 (Common Lisp
58the Language, 2nd Edition) are provided. For more information see the
59<a href="http://www.lisp.org/HyperSpec/Body/sec_6-1-1.html">Common Lisp Hyperspec</a>.
60</dd>
61
62</dl>
63
64<h3>Examples:</h3>
65
66<pre>
67(loop with a = 0 and b = -1
68      while (< a 10)
69      sum a into foo
70      do (set! a (+ a 1))
71      finally (return (list foo b)))
72;=> (45 -1)
73</pre>
74
75
76<h3>License:</h3>
77<pre>
78Copyright (C) 2002 Heinrich Taube (taube@uiuc.edu)
79
80This program is free software; you can redistribute it and/or
81modify it under the terms of the GNU General Public License
82as published by the Free Software Foundation; either version 2
83of the License, or (at your option) any later version.
84
85This program is distributed in the hope that it will be useful,
86but WITHOUT ANY WARRANTY; without even the implied warranty of
87MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
88GNU General Public License for more details.
89</pre>
90
91<hr><a href="index.html">back</a>
92
93
94</body></html>
Note: See TracBrowser for help on using the repository browser.