summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorPaul A. Patience <paul@apatience.com>2022-01-22 03:19:07 -0500
committerKaz Kylheku <kaz@kylheku.com>2022-01-22 22:28:39 -0800
commit004e1208708fa7ed0538c391c42411e36ddac431 (patch)
tree499c8d691cd83f708590058ffdc0ba67514e8ecd /stdlib
parent912954cca7ed1d778a2ee7f416e0461845836c7c (diff)
downloadtxr-004e1208708fa7ed0538c391c42411e36ddac431.tar.gz
txr-004e1208708fa7ed0538c391c42411e36ddac431.tar.bz2
txr-004e1208708fa7ed0538c391c42411e36ddac431.zip
lib: new functions nand, nor, nandf and norf.
* eval.c (me_nand, me_nor, nor_fun, nand_fun): New functions. (eval_init): Register new intrinsics. * lib.c (nandv, norv): New functions. * lib.h (nandv, norv): Declared. * txr.1: Documented, along with trivial fixes to the descriptions of and, or, andf, orf and notf. * stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/doc-syms.tl4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl
index 676323a4..dc8424a5 100644
--- a/stdlib/doc-syms.tl
+++ b/stdlib/doc-syms.tl
@@ -1303,6 +1303,8 @@
("n-choose-k" "N-02ACFDE6")
("n-perm-k" "N-02ACFDE6")
("name" "N-01557906")
+ ("nand" "N-01EB4CCB")
+ ("nandf" "N-00C18907")
("ncon" "N-022F6E60")
("ncon*" "N-022F6E60")
("nconc" "N-0014162F")
@@ -1325,6 +1327,8 @@
("nlink-t" "N-01153D9E")
("noflsh" "N-0072FF5E")
("none" "D-006B")
+ ("nor" "N-03662D87")
+ ("norf" "N-00C18907")
("not" "D-0069")
("notf" "N-0026CE18")
("nr" "N-03A7AE6D")