From 41a92aabe6720cc9b795c268bcc74a3e6d34cf46 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 4 Oct 2016 06:51:26 -0700 Subject: doc: ranges are immutable. * txr.1: document that ranges are immutable and expand the surrounding wording a bit. --- txr.1 | 7 +++++-- 1 file 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 -- cgit v1.2.3