mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 23:50:19 +02:00
SRFI-1: Rewrite split-at' and
split-at!' in Scheme.
This partially reverts commit bb560b9c16
(Tue Mar 15 2005).
* module/srfi/srfi-1.scm (out-of-range, split-at, split-at!): New
procedures.
* libguile/srfi-1.c (scm_srfi1_split_at, scm_srfi1_split_at_x): Remove.
* libguile/srfi-1.h (scm_srfi1_split_at, scm_srfi1_split_at_x): Ditto.
This commit is contained in:
parent
58ee1beabe
commit
7f593bc7f9
3 changed files with 28 additions and 53 deletions
|
@ -47,8 +47,6 @@ 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);
|
||||
SCM_INTERNAL SCM scm_srfi1_remove_x (SCM pred, SCM list);
|
||||
SCM_INTERNAL SCM scm_srfi1_split_at (SCM lst, SCM n);
|
||||
SCM_INTERNAL SCM scm_srfi1_split_at_x (SCM lst, SCM n);
|
||||
SCM_INTERNAL SCM scm_srfi1_take_right (SCM lst, SCM n);
|
||||
|
||||
SCM_INTERNAL void scm_register_srfi_1 (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue