From 004e1208708fa7ed0538c391c42411e36ddac431 Mon Sep 17 00:00:00 2001 From: "Paul A. Patience" Date: Sat, 22 Jan 2022 03:19:07 -0500 Subject: 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. --- stdlib/doc-syms.tl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'stdlib') 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") -- cgit v1.2.3