summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2016-10-04 06:51:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2016-10-04 06:51:26 -0700
commit41a92aabe6720cc9b795c268bcc74a3e6d34cf46 (patch)
treeef0e16875567afdcd19db37893e0cf09ba144200
parent0a2ebee567eddb89879cb3b6fcb371f6d6404cb6 (diff)
downloadtxr-41a92aabe6720cc9b795c268bcc74a3e6d34cf46.tar.gz
txr-41a92aabe6720cc9b795c268bcc74a3e6d34cf46.tar.bz2
txr-41a92aabe6720cc9b795c268bcc74a3e6d34cf46.zip
doc: ranges are immutable.
* txr.1: document that ranges are immutable and expand the surrounding wording a bit.
-rw-r--r--txr.17
1 files changed, 5 insertions, 2 deletions
diff --git a/txr.1 b/txr.1
index 9d66fb4d..5693dbe0 100644
--- a/txr.1
+++ b/txr.1
@@ -18202,10 +18202,13 @@ excess value which surpasses the endpoint is excluded from the sequence.
Ranges are a objects which each aggregate two values, not unlike
.code cons
cells. However, they are atoms, and are primarily intended to hold numeric or
-character values. The two values of a range are called
+character values in their two fields. These fields are called
.code from
and
-.codn to .
+.code to
+which are the names of the functions which access them. These fields
+are not mutable; a new value cannot be stored into either field of
+a range.
The printed notation for a range object consists of the prefix
.code #R