aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2015-06-29 14:38:07 +1000
committerSteve Bennett <steveb@workware.net.au>2015-06-29 14:38:07 +1000
commitcec01e7ee6d71ae7d02f6ebaa59100e86bc4e7ca (patch)
treee0f80121c05d81ac68099874c181d5f89ea1d3c5
parent5019501c3061f02e0df44ef2f936aa6ab9f729d8 (diff)
downloadjimtcl-cec01e7ee6d71ae7d02f6ebaa59100e86bc4e7ca.zip
jimtcl-cec01e7ee6d71ae7d02f6ebaa59100e86bc4e7ca.tar.gz
jimtcl-cec01e7ee6d71ae7d02f6ebaa59100e86bc4e7ca.tar.bz2
docs: minor typos and fix lambda command link
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r--Tcl_shipped.html24
-rw-r--r--jim_tcl.txt24
2 files changed, 24 insertions, 24 deletions
diff --git a/Tcl_shipped.html b/Tcl_shipped.html
index bf58fa1..dad3474 100644
--- a/Tcl_shipped.html
+++ b/Tcl_shipped.html
@@ -2415,7 +2415,7 @@ Support for the <code>?</code> non-greedy quantifier. e.g. <code>*?</code>
</li>
<li>
<p>
-Support for non-capuring parentheses <code>(?:&#8230;)</code>
+Support for non-capturing parentheses <code>(?:&#8230;)</code>
</p>
</li>
<li>
@@ -2890,7 +2890,7 @@ and the documentation of the <a href="#_namespace"><strong><code>namespace</code
</div>
</div>
<div class="sect1">
-<h2 id="_garbage_collection_references_lambda">GARBAGE COLLECTION, REFERENCES, LAMBDA</h2>
+<h2 id="_garbage_collection_references_lambda_function">GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION</h2>
<div class="sectionbody">
<div class="paragraph"><p>Unlike Tcl, Jim has some sophisticated support for functional programming.
These are described briefly below.</p></div>
@@ -2956,8 +2956,8 @@ newf</code></pre>
</div></div>
</div>
<div class="sect2">
-<h3 id="_lambda">Lambda</h3>
-<div class="paragraph"><p>Jim provides a garbage collected lambda function. This is a procedure
+<h3 id="_lambda_function">Lambda Function</h3>
+<div class="paragraph"><p>Jim provides a garbage collected <a href="#_lambda"><strong><code>lambda</code></strong></a> function. This is a procedure
which is able to create an anonymous procedure. Consider:</p></div>
<div class="literalblock">
<div class="content">
@@ -3559,7 +3559,7 @@ used anymore.</p></div>
<div class="paragraph"><p><code><strong>collect</strong></code></p></div>
<div class="paragraph"><p>Normally reference garbage collection is automatically performed periodically.
However it may be run immediately with the <a href="#_collect"><strong><code>collect</code></strong></a> command.</p></div>
-<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_concat">concat</h3>
@@ -4345,7 +4345,7 @@ conditional or looping commands, for example:</p></div>
the empty string to remove the current finalizer.</p></div>
<div class="paragraph"><p>The reference must be a valid reference create with the <a href="#_ref"><strong><code>ref</code></strong></a>
command.</p></div>
-<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_flush">flush</h3>
@@ -4427,7 +4427,7 @@ correctly even if the argument is in braces.</p></div>
<div class="paragraph"><p><code><strong>getref</strong> <em>reference</em></code></p></div>
<div class="paragraph"><p>Returns the string associated with <code><em>reference</em></code>. The reference must
be a valid reference create with the <a href="#_ref"><strong><code>ref</code></strong></a> command.</p></div>
-<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_gets">gets</h3>
@@ -4820,12 +4820,12 @@ string formed by joining all of the elements of <code><em>list</em></code> toget
<div class="paragraph"><p>An error is raised if the signal could not be delivered.</p></div>
</div>
<div class="sect2">
-<h3 id="_lambda_2">lambda</h3>
+<h3 id="_lambda">lambda</h3>
<div class="paragraph"><p><code><strong>lambda</strong> <em>args ?statics? body</em></code></p></div>
<div class="paragraph"><p>The <a href="#_lambda"><strong><code>lambda</code></strong></a> command is identical to <a href="#_proc"><strong><code>proc</code></strong></a>, except rather than
creating a named procedure, it creates an anonymous procedure and returns
the name of the procedure.</p></div>
-<div class="paragraph"><p>See <a href="#_proc"><strong><code>proc</code></strong></a> and GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See <a href="#_proc"><strong><code>proc</code></strong></a> and GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_lappend">lappend</h3>
@@ -5632,7 +5632,7 @@ no longer accessible.</p></div>
<div class="content">
<pre><code>finalizer reference string</code></pre>
</div></div>
-<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_rename">rename</h3>
@@ -5749,7 +5749,7 @@ in the global scope.</p></div>
<div class="paragraph"><p>Store a new string in <code><em>reference</em></code>, replacing the existing string.
The reference must be a valid reference create with the <a href="#_ref"><strong><code>ref</code></strong></a>
command.</p></div>
-<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.</p></div>
+<div class="paragraph"><p>See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.</p></div>
</div>
<div class="sect2">
<h3 id="_signal">signal</h3>
@@ -8241,7 +8241,7 @@ official policies, either expressed or implied, of the Jim Tcl Project.</code></
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-06-21 15:28:27 EEST
+Last updated 2015-06-29 14:37:33 AEST
</div>
</div>
</body>
diff --git a/jim_tcl.txt b/jim_tcl.txt
index 9c993c0..13185c8 100644
--- a/jim_tcl.txt
+++ b/jim_tcl.txt
@@ -1029,7 +1029,7 @@ and POSIX are highlighted below.
5. Supported constraint escapes: +{backslash}m+ = +{backslash}<+ = start of word, +{backslash}M+ = +{backslash}>+ = end of word
6. Backslash escapes may be used within regular expressions, such as +{backslash}n+ = newline, +{backslash}uNNNN+ = unicode
7. Support for the +?+ non-greedy quantifier. e.g. +*?+
-8. Support for non-capuring parentheses +(?:...)+
+8. Support for non-capturing parentheses +(?:...)+
9. Jim Tcl considers that both patterns and strings end at a null character (+\x00+)
COMMAND RESULTS
@@ -1371,8 +1371,8 @@ Jim Tcl currently supports "light-weight" namespaces which should be adequate fo
purposes. This feature is currently experimental. See README.namespaces for more information
and the documentation of the `namespace` command.
-GARBAGE COLLECTION, REFERENCES, LAMBDA
---------------------------------------
+GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION
+-----------------------------------------------
Unlike Tcl, Jim has some sophisticated support for functional programming.
These are described briefly below.
@@ -1437,9 +1437,9 @@ The finalizer for a reference may be examined or changed with the `finalize` com
jim> finalize $r newf
newf
-Lambda
-~~~~~~
-Jim provides a garbage collected lambda function. This is a procedure
+Lambda Function
+~~~~~~~~~~~~~~~
+Jim provides a garbage collected `lambda` function. This is a procedure
which is able to create an anonymous procedure. Consider:
jim> set f [lambda {a} {{x 0}} { incr x $a }]
@@ -1854,7 +1854,7 @@ collect
Normally reference garbage collection is automatically performed periodically.
However it may be run immediately with the `collect` command.
-See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
concat
~~~~~~
@@ -2415,7 +2415,7 @@ the empty string to remove the current finalizer.
The reference must be a valid reference create with the `ref`
command.
-See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
flush
~~~~~
@@ -2521,7 +2521,7 @@ getref
Returns the string associated with +'reference'+. The reference must
be a valid reference create with the `ref` command.
-See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
gets
~~~~
@@ -2817,7 +2817,7 @@ The `lambda` command is identical to `proc`, except rather than
creating a named procedure, it creates an anonymous procedure and returns
the name of the procedure.
-See `proc` and GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See `proc` and GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
lappend
~~~~~~~
@@ -3565,7 +3565,7 @@ The finalizer is invoked as:
finalizer reference string
-See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
rename
~~~~~~
@@ -3686,7 +3686,7 @@ Store a new string in +'reference'+, replacing the existing string.
The reference must be a valid reference create with the `ref`
command.
-See GARBAGE COLLECTION, REFERENCES, LAMBDA for more detail.
+See GARBAGE COLLECTION, REFERENCES, LAMBDA FUNCTION for more detail.
signal
~~~~~~