diff options
author | Rob Browning <rlb@defaultvalue.org> | 2024-07-20 14:56:27 -0500 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2024-07-30 18:54:45 -0500 |
commit | aa44035ee883fd675a0e58343ad2172701f364b5 (patch) | |
tree | 2d22beea08147835ea7e4c5736e11f7d985d7423 /libguile/srfi-1.h | |
parent | 6bd70136d96e73542e6725bc490199e17f56ee92 (diff) | |
download | guile-aa44035ee883fd675a0e58343ad2172701f364b5.tar.gz |
srfi-1 list-copy: move from C to Scheme
* libguile/srfi-1.c (scm_srfi1_list_copy): delete.
* libguile/srfi-1.h (scm_srfi1_list_copy): delete.
* module/srfi/srfi-1.scm: add list-copy.
* test-suite/tests/srfi-1.test: ensure copied spine is independent.
Diffstat (limited to 'libguile/srfi-1.h')
-rw-r--r-- | libguile/srfi-1.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libguile/srfi-1.h b/libguile/srfi-1.h index 9dafb9c0d..20cb478b4 100644 --- a/libguile/srfi-1.h +++ b/libguile/srfi-1.h @@ -35,7 +35,6 @@ SCM_INTERNAL SCM scm_srfi1_delete_duplicates (SCM lst, SCM pred); SCM_INTERNAL SCM scm_srfi1_delete_duplicates_x (SCM lst, SCM pred); SCM_INTERNAL SCM scm_srfi1_length_plus (SCM lst); SCM_INTERNAL SCM scm_srfi1_lset_difference_x (SCM equal, SCM lst, SCM rest); -SCM_INTERNAL SCM scm_srfi1_list_copy (SCM lst); SCM_INTERNAL SCM scm_srfi1_partition (SCM pred, SCM list); SCM_INTERNAL SCM scm_srfi1_partition_x (SCM pred, SCM list); SCM_INTERNAL SCM scm_srfi1_remove (SCM pred, SCM list); |