summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-01 20:07:51 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-01 20:07:51 -0700
commitae05a8f6e9dbaa6f18a0d22475ab8fafc2b56506 (patch)
treeae68309aa0ac818f18aaa0cc3b0b82bdb25b7fef /txr.1
parentfe4ee294894e05042b806fa2202b47ae635dc2a7 (diff)
downloadtxr-ae05a8f6e9dbaa6f18a0d22475ab8fafc2b56506.tar.gz
txr-ae05a8f6e9dbaa6f18a0d22475ab8fafc2b56506.tar.bz2
txr-ae05a8f6e9dbaa6f18a0d22475ab8fafc2b56506.zip
mkstring char argument is optional.
* eval.c (eval_init): Update registration of mkstring intrinsic to make second argument optional. * lib.c (mkstring): Default second argument to space. * txr.1: Documentation of mkstring updated.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.16
1 files changed, 5 insertions, 1 deletions
diff --git a/txr.1 b/txr.1
index 8a5d815e..d758e28e 100644
--- a/txr.1
+++ b/txr.1
@@ -20427,7 +20427,7 @@ ranges are immutable.
.SS* Characters and Strings
.coNP Function @ mkstring
.synb
-.mets (mkstring < length << char )
+.mets (mkstring < length <> [ char ])
.syne
.desc
The
@@ -20440,6 +20440,10 @@ with
.metn char ,
which must be a character value.
+If the optional argument
+.meta char
+is not specified, it defaults to the space character.
+
.coNP Function @ copy-str
.synb
.mets (copy-str << string )