You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/language/laziness/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ <h2>Language: Laziness</h2>
65
65
<p>This guide covers:</p><ul><li>What are lazy sequences</li><li>Pitfalls with lazy sequences</li><li>How to create functions that produce lazy sequences</li><li>How to force evaluation</li></ul><p>This work is licensed under a <arel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons
66
66
Attribution 3.0 Unported License</a> (including images &
67
67
stylesheets). The source is available <ahref="https://github.com/clojure-doc/clojure-doc.github.io">on
68
-
Github</a>.</p><h2id="what-version-of-clojure-does-this-guide-cover">What Version of Clojure Does This Guide Cover?</h2><p>This guide covers Clojure 1.11.</p><h2id="overview">Overview</h2><p>Clojure is not a <ahref="http://en.wikipedia.org/wiki/Lazy_evaluation">lazy language</a>.</p><p>However, Clojure supports <em>lazily evaluated sequences</em>. This means that sequence elements are not
68
+
Github</a>.</p><h2id="what-version-of-clojure-does-this-guide-cover">What Version of Clojure Does This Guide Cover?</h2><p>This guide covers Clojure 1.12.</p><h2id="overview">Overview</h2><p>Clojure is not a <ahref="http://en.wikipedia.org/wiki/Lazy_evaluation">lazy language</a>.</p><p>However, Clojure supports <em>lazily evaluated sequences</em>. This means that sequence elements are not
69
69
available ahead of time and are produced as the result of a computation. The computation
70
70
is performed as needed. Evaluation of lazy sequences is known as <em>realization</em>.</p><p>Lazy sequences can be infinite (e.g., the sequence of Fibonacci numbers, a sequence of
71
71
dates with a particular interval between them, and so on). If a lazy sequence is finite,
Copy file name to clipboardExpand all lines: articles/language/namespaces/index.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,7 @@ <h2>Language: Namespaces</h2>
63
63
</div>
64
64
65
65
<p>This guide covers:</p><ul><li>An overview of Clojure namespaces and vars</li><li>How to define namespaces</li><li>How to use functions in other namespaces</li><li><code>require</code>, <code>refer</code> and <code>use</code></li><li>Common compilation errors and typical problems that cause them</li><li>Namespaces and their relation to code compilation in Clojure</li></ul><p>This work is licensed under a <arel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>
66
-
(including images & stylesheets). The source is available <ahref="https://github.com/clojure-doc/clojure-doc.github.io">on Github</a>.</p><h2id="what-version-of-clojure-does-this-guide-cover">What Version of Clojure Does This Guide Cover?</h2><p>This guide covers Clojure 1.11.</p><h2id="overview">Overview</h2><p>Clojure functions are organized into <em>namespaces</em>. Clojure namespaces
66
+
(including images & stylesheets). The source is available <ahref="https://github.com/clojure-doc/clojure-doc.github.io">on Github</a>.</p><h2id="what-version-of-clojure-does-this-guide-cover">What Version of Clojure Does This Guide Cover?</h2><p>This guide covers Clojure 1.12.</p><h2id="overview">Overview</h2><p>Clojure functions are organized into <em>namespaces</em>. Clojure namespaces
67
67
are similar to Java packages and Python modules. Namespaces are
68
68
like maps (dictionaries) that map names to <em>vars</em>. In many cases,
69
69
those vars store functions in them.</p><h2id="defining-a-namespace">Defining a Namespace</h2><p>Namespaces are usually defined using the <code>clojure.core/ns</code> macro. In its most basic
0 commit comments