summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-05 01:22:58 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-05 01:22:58 -0800
commitecefd793e54d3cf0a56df705a18deb587d2a19c1 (patch)
treeaac910f152b09dcd277001a6541e1cd50596b3bf /ChangeLog
parenta2665d2f02ce417851719f07c9e88bd642d59641 (diff)
downloadtxr-ecefd793e54d3cf0a56df705a18deb587d2a19c1.tar.gz
txr-ecefd793e54d3cf0a56df705a18deb587d2a19c1.tar.bz2
txr-ecefd793e54d3cf0a56df705a18deb587d2a19c1.zip
* eval.c (apply): Pass missing optional arguments as colon_k.
to functions for which this is requested. (reg_fun_mark): New static function. (eval_init): Register reduce_left and reduce_right as requiring marking for missing optionals. * lib.c (func_set_mark_missing): New function. (generic_funcall): Pass missing optional arguments as colon_k to functions for which this is requested. (reduce_left, reduce_right): Handle missing values of init and key. (func_f0, func_f1, func_f2, func_f3, func_f4, func_n0, func_n1, func_n2, func_n3, func_n4, func_n5, func_n6, func_n7, func_f0v, func_f1v, func_f2v, func_f3v, func_f4v, func_n0v, func_n1v, func_n2v, func_n3v, func_n4v, func_n5v, func_n6v, func_n7v): Initialize new mark_missing_args member of struct func. * lib.h (struct func): New bitfield member, mark_missing_args. (func_set_mark_missing): Declared. (missingp, null_or_missing_p): New inline functions. * txr.1: Updated descriptions of reduce-left and reduce-right.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog24
1 files changed, 24 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3332e7a5..d0f2c9a9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,27 @@
+2014-02-05 Kaz Kylheku <kaz@kylheku.com>
+
+ * eval.c (apply): Pass missing optional arguments as colon_k.
+ to functions for which this is requested.
+ (reg_fun_mark): New static function.
+ (eval_init): Register reduce_left and reduce_right as requiring
+ marking for missing optionals.
+
+ * lib.c (func_set_mark_missing): New function.
+ (generic_funcall): Pass missing optional arguments as colon_k
+ to functions for which this is requested.
+ (reduce_left, reduce_right): Handle missing values of init and key.
+ (func_f0, func_f1, func_f2, func_f3, func_f4, func_n0, func_n1,
+ func_n2, func_n3, func_n4, func_n5, func_n6, func_n7, func_f0v,
+ func_f1v, func_f2v, func_f3v, func_f4v, func_n0v, func_n1v,
+ func_n2v, func_n3v, func_n4v, func_n5v, func_n6v, func_n7v):
+ Initialize new mark_missing_args member of struct func.
+
+ * lib.h (struct func): New bitfield member, mark_missing_args.
+ (func_set_mark_missing): Declared.
+ (missingp, null_or_missing_p): New inline functions.
+
+ * txr.1: Updated descriptions of reduce-left and reduce-right.
+
2014-02-03 Kaz Kylheku <kaz@kylheku.com>
* lib.c (nullp): Function removed.