summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2022-05-30 06:44:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2022-05-30 06:44:28 -0700
commitcce3c4bef38888be015b0652d136e34c8ae7e59f (patch)
tree8f1af5da0718bf01b71ca860616ca7b8f3d652a6 /stdlib
parentbc591cb5ee04582dbdf17a0125987ec03e8c064f (diff)
downloadtxr-cce3c4bef38888be015b0652d136e34c8ae7e59f.tar.gz
txr-cce3c4bef38888be015b0652d136e34c8ae7e59f.tar.bz2
txr-cce3c4bef38888be015b0652d136e34c8ae7e59f.zip
New: spln and tokn functions.
Instead of trying to work the new count parameter into the spl and tok functions, it's better to make new ones. * eval.c (eval_init): spln and tokn intrinsics registered. * lib.[ch] (spln, tokn): New functions. * tests/015/split.tl: New test cases. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/doc-syms.tl3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index b9956422..47f0a89f 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -1838,12 +1838,13 @@
("span-str" "N-0394CA3A")
("special-operator-p" "N-01E259AD")
("special-var-p" "N-00833473")
- ("spl" "N-03C7F5FA")
+ ("spl" "N-026FC0BD")
("splice" "N-03BC798C")
("split" "N-02FD4882")
("split*" "N-02FD4882")
("split-str" "N-000386B4")
("split-str-set" "N-0296195B")
+ ("spln" "N-026FC0BD")
("sqrt" "D-0027")
("square" "D-0032")
("ssize-t" "N-01153D9E")