diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-01 15:54:49 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-01 15:54:49 -0800 |
commit | 177e43ce6f661c869fb91f8daee32a30c7feda04 (patch) | |
tree | f61f215842b2e3a233b9213d5b2090b457dd4d6e /txr.1 | |
parent | 9a458e38b5bd09b6c229dbbad8720d2e6c16bd86 (diff) | |
download | txr-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.1 | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -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 |