summaryrefslogtreecommitdiffstats
path: root/stdlib/doc-syms.tl
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-03-21 21:48:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-03-21 21:48:05 -0700
commit1cdc46ddad07b2b9eadabad81a7321f6037452bf (patch)
treea6c8965d7cf5512bb7373003e7ae36a43b79e91a /stdlib/doc-syms.tl
parentb0996ee594a18976dae2ac3f0a6932ac50630992 (diff)
downloadtxr-1cdc46ddad07b2b9eadabad81a7321f6037452bf.tar.gz
txr-1cdc46ddad07b2b9eadabad81a7321f6037452bf.tar.bz2
txr-1cdc46ddad07b2b9eadabad81a7321f6037452bf.zip
New function: ignore, synonym of nilf.
This will be an official mechanism for indicating deliberately unused variables. * eval.c (eval_init): Register ignore intrinsic, binding to the same function object as nilf. * stdlib/compiler.tl (%const-foldable-funs%): Mention ignore function, next to its nilf synonym. * txr.1: Documented. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib/doc-syms.tl')
-rw-r--r--stdlib/doc-syms.tl5
1 files changed, 3 insertions, 2 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index 067d3701..4046ea49 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -985,6 +985,7 @@
("ignbrk" "N-02391683")
("igncr" "N-02391683")
("ignerr" "N-007287AC")
+ ("ignore" "N-007E0508")
("ignpar" "N-02391683")
("ignwarn" "N-02552A58")
("imaxbel" "N-02391683")
@@ -1324,7 +1325,7 @@
("next-file" "N-00839D2F")
("nf" "N-0267AE6D")
("nil" "N-015134D8")
- ("nilf" "N-032070EB")
+ ("nilf" "N-007E0508")
("ninth" "N-01B0FA33")
("nl0" "N-03BD477F")
("nl1" "N-03BD477F")
@@ -1994,7 +1995,7 @@
("test-neq-set-indent-mode" "N-01A1F89C")
("test-set" "N-036C7E9E")
("test-set-indent-mode" "N-01A1F89C")
- ("tf" "N-032070EB")
+ ("tf" "N-007E0508")
("third" "N-01B0FA33")
("throw" "D-0053")
("throwf" "N-015466AD")