1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00

(scm_string_map, scm_string_map_x,

scm_string_for_each): Reverse order of first two args.
(scm_string_for_each_index): New proc.

Thanks to Alex Shinn.
This commit is contained in:
Thien-Thi Nguyen 2001-08-24 21:57:52 +00:00
parent 0aa7a7ceba
commit 8c67d05cef

View file

@ -110,13 +110,14 @@ SCM scm_string_concatenate (SCM ls);
SCM scm_string_concatenate_shared (SCM ls);
SCM scm_string_concatenate_reverse (SCM ls, SCM final_string, SCM end);
SCM scm_string_concatenate_reverse_shared (SCM ls, SCM final_string, SCM end);
SCM scm_string_map (SCM s, SCM proc, SCM start, SCM end);
SCM scm_string_map_x (SCM s, SCM proc, SCM start, SCM end);
SCM scm_string_map (SCM proc, SCM s, SCM start, SCM end);
SCM scm_string_map_x (SCM proc, SCM s, SCM start, SCM end);
SCM scm_string_fold (SCM kons, SCM knil, SCM s, SCM start, SCM end);
SCM scm_string_fold_right (SCM kons, SCM knil, SCM s, SCM start, SCM end);
SCM scm_string_unfold (SCM p, SCM f, SCM g, SCM seed, SCM base, SCM make_final);
SCM scm_string_unfold_right (SCM p, SCM f, SCM g, SCM seed, SCM base, SCM make_final);
SCM scm_string_for_each (SCM s, SCM proc, SCM start, SCM end);
SCM scm_string_for_each (SCM proc, SCM s, SCM start, SCM end);
SCM scm_string_for_each_index (SCM proc, SCM s, SCM start, SCM end);
SCM scm_xsubstring (SCM s, SCM from, SCM to, SCM start, SCM end);
SCM scm_string_xcopy_x (SCM target, SCM tstart, SCM s, SCM sfrom, SCM sto, SCM start, SCM end);
SCM scm_string_replace (SCM s1, SCM s2, SCM start1, SCM end1, SCM start2, SCM end2);