summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
Diffstat (limited to 'txr.1')
-rw-r--r--txr.129
1 files changed, 29 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 84b1dab7..c81b4523 100644
--- a/txr.1
+++ b/txr.1
@@ -29227,6 +29227,35 @@ then convert the resulting list to the same type as an input value
by using
.codn make-like .
+.coNP Functions @, list-seq @ vec-seq and @ str-seq
+.synb
+.mets (list-seq << iterable )
+.mets (vec-seq << iterable )
+.mets (str-seq << iterable )
+.syne
+.desc
+The
+.codn list-seq ,
+.code vec-seq
+and
+.code str-seq
+functions convert an iterable object of any type into a list, vector
+or string, respectively.
+
+The
+.code list-seq
+and
+.code vec-seq
+iterate the items of
+.meta iterable
+and accumulate these items into a new list or vector.
+
+The
+.code str-seq
+similarly iterates the items of
+.metn iterable ,
+requiring them to be a mixture of characters and strings.
+
.coNP Functions @ length and @ len
.synb
.mets (length << iterable )