From 756345ddd407550ee41469667a66e7ce9d8eb49e Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 25 Oct 2011 14:28:49 -0400 Subject: Shorthand for filters which map multiple texts to a common replacement text. * filter.c (build_filter_from_list): Allow tuples to denote multiple keys mapping to the same value. * lib.c (do_curry_123_2, do_curry_123_1): New static functions. (curry_123_2, curry_123_1): New functions. * lib.h (curry_123_2, curry_123_1): New functions declared. * match.c (v_deffilter): Allow tuples of strings rather than just pairs. * txr.1: Updated. --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6812cdf3..13aa17e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2011-10-25 Kaz Kylheku + + Shorthand for filters which map multiple texts to a common + replacement text. + + * filter.c (build_filter_from_list): Allow tuples to denote + multiple keys mapping to the same value. + + * lib.c (do_curry_123_2, do_curry_123_1): New static functions. + (curry_123_2, curry_123_1): New functions. + + * lib.h (curry_123_2, curry_123_1): New functions declared. + + * match.c (v_deffilter): Allow tuples of strings rather than + just pairs. + + * txr.1: Updated. + 2011-10-25 Kaz Kylheku * parser.y: Remove mention of nonexistent terminal \\ -- cgit v1.2.3