diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-02-22 00:42:06 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-02-22 00:42:06 -0800 |
commit | 2868a7009f04a40d52c27503a0a4feb50da5c877 (patch) | |
tree | 44e31e8cb33e6c1f1cd4bd6c7f6e77c3bc6521ac /txr.vim | |
parent | 7338a92f135d2a5cb8db59c08885b63ee4991d9f (diff) | |
download | txr-2868a7009f04a40d52c27503a0a4feb50da5c877.tar.gz txr-2868a7009f04a40d52c27503a0a4feb50da5c877.tar.bz2 txr-2868a7009f04a40d52c27503a0a4feb50da5c877.zip |
* eval.c (eval_init): Intrinsic bindings for sub, ref, refset
and replace.
* lib.c (do_sort): Static function renamed to sort_list.
(swap, quicksort, sort_vec): New static functions.
(sort): Made generic over lists, vectors and strings.
(refset): New function.
* lib.h (sort): Declaration updated (parameter name change).
(refset): Declared.
* txr.1: Mention refset.
* txr.vim: Updated with refset.
Diffstat (limited to 'txr.vim')
-rw-r--r-- | txr.vim | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -74,7 +74,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 +syn keyword txl_keyword contained sub ref replace refset syn keyword txl_keyword contained symbol-function func-get-form func-get-env syn keyword txl_keyword contained functionp interp-fun-p *random-state* |