summaryrefslogtreecommitdiffstats
path: root/doc/apply.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2007-10-29 01:42:18 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2007-10-29 01:42:18 (GMT)
commit71f78ed1de764f208d95b703744c7682d448c3e3 (patch)
tree8e72d3dd4068fc22320de66ab7145fa75119f54c /doc/apply.n
parentccacc920f9cd610a9a9d8e800f623c20bf43a702 (diff)
downloadtcl-71f78ed1de764f208d95b703744c7682d448c3e3.zip
tcl-71f78ed1de764f208d95b703744c7682d448c3e3.tar.gz
tcl-71f78ed1de764f208d95b703744c7682d448c3e3.tar.bz2
Next stage of doing GOOBE improvements to documentation now that the html generation works
Diffstat (limited to 'doc/apply.n')
-rw-r--r--doc/apply.n5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/apply.n b/doc/apply.n
index fea6a5f..bcdf6bd 100644
--- a/doc/apply.n
+++ b/doc/apply.n
@@ -41,7 +41,8 @@ The invocation of \fBapply\fR adds a call frame to Tcl's evaluation stack
proceeds in this call frame, in the namespace given by \fInamespace\fR or
in the global namespace if none was specified. If given, \fInamespace\fR is
interpreted relative to the global namespace even if its name does not start
-with '::'.
+with
+.QW :: .
.PP
The semantics of \fBapply\fR can also be described by:
.PP
@@ -67,7 +68,7 @@ to each element of a list.
.CS
proc map {lambda list} {
set result {}
- foreach $item $list {
+ foreach item $list {
lappend result [\fBapply\fR $lambda $item]
}
return $result