diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-16 06:43:28 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-16 06:43:28 -0700 |
commit | c7b7e82868a5fb1cd024e7570f973f5807248379 (patch) | |
tree | 5770688e0977d1d64bf27ab98842053ab766e863 /txr.1 | |
parent | c9e0e299e93a5c4f9caf9df31aed18038650a7be (diff) | |
download | txr-c7b7e82868a5fb1cd024e7570f973f5807248379.tar.gz txr-c7b7e82868a5fb1cd024e7570f973f5807248379.tar.bz2 txr-c7b7e82868a5fb1cd024e7570f973f5807248379.zip |
Renaming some functions for consistency.
* combi.c (perm_list, perm_str, rperm_list, reperm_gen_fun,
rperm_vec, comb_vec, rcomb_list, rcomb_vec, rcomb_str):
Follow rename of list_vector to list_vec.
* eval.c (vector_list_s): Global variable renamed to
vec_list_s.
(expand_qquote): Follow vector_list_s to vec_list_s.
(eval_init): Follow renames of all identifiers. Functions
num-chr, chr-num, vector-list and list-vector are
registered under new names, while remaining registered
under old names.
* eval.h (vector_list_s): Declaration renamed.
* filter.c (url_encode): Follow chr_num to chr_int rename.
* lib.c (make_like, interpose, shuffle): Follow vector_list to vec_list rename.
(tolist, replace, replace_list): Follow list_vector to list_vec rename.
(num_chr): Renamed to int_chr.
(chr_num): Renamed to chr_int.
(vector_list): Renamed to vec_list.
(list_vector): Renamed to list_vec.
* lib.h (num_chr, chr_num, list_vector, vector_list):
* Declarations renamed.
* parser.y (vector): Follow vector_list to vec_list rename.
* txr.1: Updated documentation for num-chr, chr-num,
list-vector and vector-list with new names, and notes
about the old names being supported, but obsolescent.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 27 |
1 files changed, 19 insertions, 8 deletions
@@ -17031,10 +17031,10 @@ returns the lower case equivalent character. If it is some other character, then it just returns .metn char . -.coNP Functions @ num-chr and @ chr-num +.coNP Functions @ int-chr and @ chr-int .synb -.mets (num-chr << char ) -.mets (chr-num << num ) +.mets (int-chr << char ) +.mets (chr-int << num ) .syne .desc The argument @@ -17053,6 +17053,11 @@ to The argument is taken to be a Unicode code point value and the corresponding character object is returned. +Note: these functions are also known by the obsolescent names +.code num-chr +and +.codn chr-num . + .coNP Accessor @ chr-str .synb .mets (chr-str < str << idx ) @@ -17711,25 +17716,31 @@ The of the vector can be extended up to this size without any memory allocation operations having to be performed. -.coNP Function @ vector-list +.coNP Function @ vec-list .synb -.mets (vector-list << list ) +.mets (vec-list << list ) .syne .desc This function returns a vector which contains all of the same elements and in the same order as list .metn list . -.coNP Function @ list-vector +Note: this function is also known by the obsolescent name +.codn vector-list . + +.coNP Function @ list-vec .synb -.mets (list-vector << vec ) +.mets (list-vec << vec ) .syne .desc The -.code list-vector +.code list-vec function returns a list of the elements of vector .metn vec . +Note: this function is also known by the obsolescent name +.codn list-vector . + .coNP Function @ copy-vec .synb .mets (copy-vec << vec ) |