From 8bb336298d0bf4e165fa03f7f2a219ddad6e466f Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 16 Mar 2012 21:43:51 -0700 Subject: * eval.c (eval_init): New intrinsic functions chain, andf, orf, iff. * lib.c (chainv): New function. (do_and, do_or): Generalized to handle functions of any arguments via apply. (andf, orf): Turn do_and and do_or into variadic function instead of a monadic function. (do_iff): New static function. (andv, orv, iff): New functions. * lib.h (chainv, andv, orv, iff): New functions declared. * txr.1: Doc stubs created. * txr.vim: Updated. --- txr.1 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'txr.1') diff --git a/txr.1 b/txr.1 index eb7ca137..e3ab1535 100644 --- a/txr.1 +++ b/txr.1 @@ -6673,6 +6673,12 @@ Certain object types have a custom equal function. .SS Function eval +.SS Function chain + +.SS Functions andf and orf + +.SS Function iff + .SS Variables *stdout*, *stddebug*, *stdin* and *stderr* .SS Function format -- cgit v1.2.3