summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-03-01 15:54:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2012-03-01 15:54:49 -0800
commit177e43ce6f661c869fb91f8daee32a30c7feda04 (patch)
treef61f215842b2e3a233b9213d5b2090b457dd4d6e /txr.1
parent9a458e38b5bd09b6c229dbbad8720d2e6c16bd86 (diff)
downloadtxr-177e43ce6f661c869fb91f8daee32a30c7feda04.tar.gz
txr-177e43ce6f661c869fb91f8daee32a30c7feda04.tar.bz2
txr-177e43ce6f661c869fb91f8daee32a30c7feda04.zip
Pluralization fix in bind directive.
Load directive moved before Output section.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.146
1 files changed, 23 insertions, 23 deletions
diff --git a/txr.1 b/txr.1
index ca6b0c88..1fa789bb 100644
--- a/txr.1
+++ b/txr.1
@@ -2533,9 +2533,9 @@ They represent themselves. For example @(bind :foo :bar) fails,
but @(bind :foo :foo) succeeds since the two sides denote the same
keyword symbol object.
-.SS Keyword in The Bind Directive
+.SS Keywords in The Bind Directive
-The Bind directive accepts these keywords
+The Bind directive accepts these keywords:
.IP :lfilt
The argument to :lfilt is a filter specification. When the left side pattern
@@ -3244,6 +3244,27 @@ callee is invoked, it calls @(which), whose @(fun) call is routed to callee's
local definition. When @(which) is called directly from the top level, its
@(fun) call goes to the toplevel definition.
+.SS The Load Directive
+
+The syntx of the load directive is:
+
+ @(load EXPR)
+
+Where EXPR evaluates to a string giving the path of the file to load.
+Unless the path is absolute, it is interpreted relative to the directory of the
+source file from which the @(load) form was read. If there was no such
+source file (for instance, the script was read from standard input),
+then it is resolved relative to the current working directory.
+
+If the file cannot be opened, then the .txr suffix is added and another
+attempt is made. Thus load expressions need not refer to the suffix.
+In the future, additional suffixes may be searched (compiled versions
+of a file).
+
+Loading is performed at evaluation time; it is not a source file inclusion
+mechanism. A TXR script is read from beginning to end and parsed prior to
+being evaluated.
+
.SH OUTPUT
.SS Introduction
@@ -3834,27 +3855,6 @@ Example: convert a, b, and c to upper case and HTML encode:
@(filter (:upcase :to_html) a b c)
-.SS The Load Directive
-
-The syntx of the load directive is:
-
- @(load EXPR)
-
-Where EXPR evaluates to a string giving the path of the file to load.
-Unless the path is absolute, it is interpreted relative to the directory of the
-source file from which the @(load) form was read. If there was no such
-source file (for instance, the script was read from standard input),
-then it is resolved relative to the current working directory.
-
-If the file cannot be opened, then the .txr suffix is added and another
-attempt is made. Thus load expressions need not refer to the suffix.
-In the future, additional suffixes may be searched (compiled versions
-of a file).
-
-Loading is performed at evaluation time; it is not a source file inclusion
-mechanism. A TXR script is read from beginning to end and parsed prior to
-being evaluated.
-
.SH EXCEPTIONS
.SS Introduction