From db7b65f8c76cc6734f984d181945d4965742c4da Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 2 Sep 2012 03:31:01 -0700 Subject: * eval.c (eval_init): Follow function renames. * hash.c (make_hash): Likewise. * lib.c (assq): Renamed to assql for consistency. (aconsq_new): Renamed to aconsql_new. (aconsq_new_l): Renamed to aconsql_new_l. (alist_remove_test): Use equal rather than eq. Association lists use equal equality by default. (alist_nremove): Use memqual rather than memq. (alist_nremove1): Use equal rather than eq. (merge): Bugfix: unnecessary consing caused by using append instead of nconc on list pieces that are already destructively chopped up. This has implications for the efficiency of sort over lists! (multi_sort_less): Implement key functions. (multi_sort): Interface change: arguments rearranged, and new argument to specify key functions. * lib.h (assoc, assq, assql, aconsq_new, aconsq_new_l): Declarations renamed. (multi_sort): Declaration updated. * txr.1: Documented alist library, list sorting and completed documenting lazy library. * txr.vim: multi-sort highlighted. --- txr.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'txr.vim') diff --git a/txr.vim b/txr.vim index c53730b2..746f51be 100644 --- a/txr.vim +++ b/txr.vim @@ -83,7 +83,7 @@ syn keyword txl_keyword contained list-vector copy-vec sub-vec cat-vec syn keyword txl_keyword contained replace-vec assoc assq acons acons-new syn keyword txl_keyword contained aconsq-new alist-remove alist-nremove copy-cons syn keyword txl_keyword contained copy-alist merge sort find set-diff length -syn keyword txl_keyword contained sub ref replace refset +syn keyword txl_keyword contained sub ref replace refset multi-sort syn keyword txl_keyword contained symbol-function func-get-form func-get-env syn keyword txl_keyword contained functionp interp-fun-p *random-state* -- cgit v1.2.3