1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 04:10:18 +02:00
Commit graph

379 commits

Author SHA1 Message Date
Kevin Ryde
b52f5697ad *** empty log message *** 2005-05-07 00:03:13 +00:00
Kevin Ryde
e556f8c3c6 (car+cdr, fold, last, list-index,
list-tabulate, not-pair, xcons): Rewrite in C.
2005-05-06 23:59:35 +00:00
Kevin Ryde
8ad5d74a81 *** empty log message *** 2005-05-03 23:27:48 +00:00
Kevin Ryde
03731332d5 (fifth, sixth, seventh, eighth, ninth, tenth): Rewrite in C. 2005-05-03 23:24:31 +00:00
Kevin Ryde
6e9f3c2676 (break, break!): Rewrite in C. 2005-05-03 23:03:27 +00:00
Kevin Ryde
e9508fbb7d (drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, span!, take!, take-while,
take-while!): Rewrite in C.
2005-05-03 22:57:26 +00:00
Kevin Ryde
597dbd4eea (drop-right!, drop-while,
lset-adjoin, reduce, reduce-right, span, take!, take-while,
take-while!): Rewrite in C.
2005-05-03 22:56:01 +00:00
Kevin Ryde
c51682b416 *** empty log message *** 2005-04-23 00:17:33 +00:00
Kevin Ryde
eccd308a5b (scm_srfi1_count, scm_srfi1_filter_map): Don't modify the
rest argument, that belongs to the caller when reached from apply.
Use a temp vector like scm_srfi1_for_each.
2005-04-23 00:10:50 +00:00
Kevin Ryde
044bc597e9 *** empty log message *** 2005-04-03 22:41:51 +00:00
Kevin Ryde
c66c6d535d (scm_srfi1_concatenate, scm_srfi1_concatenate_x): Add code
to check argument is a list, scm_append and scm_append_x don't do that
on their "rest" list (in a normal build).
2005-04-03 22:41:15 +00:00
Kevin Ryde
161ec47f61 *** empty log message *** 2005-04-02 00:24:49 +00:00
Kevin Ryde
b1fff4e793 (alist-copy): Rewrite in C. 2005-04-02 00:19:35 +00:00
Kevin Ryde
0b5adedd31 (alist-cons): Define just as acons, not a call to acons. 2005-04-02 00:02:45 +00:00
Kevin Ryde
9b60e16f70 *** empty log message *** 2005-04-01 23:59:01 +00:00
Kevin Ryde
62a8750001 (lset-union): Rewrite to accumulate result by consing in
the order specified by the SRFI.
2005-04-01 23:47:42 +00:00
Kevin Ryde
6507b83189 (scm_srfi1_filter_map): Have 2-arg case share finalization
code of 1-arg case.
2005-04-01 23:45:41 +00:00
Kevin Ryde
5fc743b48d (scm_srfi1_count): Use scm_list_copy to make arg list,
instead of an inline loop.  Share final list check between all cases
to save some code.
2005-04-01 23:43:49 +00:00
Marius Vollmer
87bdbdbc8b *** empty log message *** 2005-03-29 18:05:38 +00:00
Marius Vollmer
ba48957bd5 Replaced SCM_INUMP with SCM_I_INUMP and SCM_INUM with SCM_I_INUM
throughout.
2005-03-29 18:04:38 +00:00
Marius Vollmer
22ed4dd806 *** empty log message *** 2005-03-26 01:40:46 +00:00
Marius Vollmer
225c21dd7e (srfiinclude_HEADERS): Added srfi-60.h. 2005-03-26 01:40:33 +00:00
Kevin Ryde
4bc6f1c693 *** empty log message *** 2005-03-17 23:16:53 +00:00
Kevin Ryde
c16359466b (filter-map): Rewrite in C. 2005-03-17 23:15:19 +00:00
Kevin Ryde
bb560b9c16 (split-at, split-at!): Rewrite in C. 2005-03-15 21:58:46 +00:00
Kevin Ryde
d2f57ee014 (split-at, split-at!): Rewrite in C. 2005-03-15 21:49:25 +00:00
Kevin Ryde
74b2357378 *** empty log message *** 2005-03-15 21:48:03 +00:00
Kevin Ryde
44981fcb77 *** empty log message *** 2005-03-15 21:18:02 +00:00
Kevin Ryde
2b077051db (drop-right, partition!, remove!, take-right): Rewrite in C.
remove! derived from core filter!.
2005-03-15 21:15:24 +00:00
Kevin Ryde
d68c4ebb3a *** empty log message *** 2005-03-13 23:06:15 +00:00
Kevin Ryde
5df2ac97e9 (find, find-tail): Rewrite in C. 2005-03-13 22:49:28 +00:00
Kevin Ryde
6851314445 New file. 2005-03-13 22:43:07 +00:00
Kevin Ryde
85542c385d *** empty log message *** 2005-03-13 00:41:20 +00:00
Kevin Ryde
6e09703fa0 (lset-union): Call `=' procedure with args in the order specified by the SRFI. 2005-03-13 00:40:55 +00:00
Kevin Ryde
ba78f311d5 *** empty log message *** 2005-03-13 00:39:42 +00:00
Kevin Ryde
9d3ea5718f * srfi-60.scm, srfi-60.c, srfi-60.h: New files.
* Makefile.am: Add them.
2005-03-13 00:31:32 +00:00
Kevin Ryde
8884a0844f New file. 2005-03-13 00:29:04 +00:00
Marius Vollmer
a81b861870 *** empty log message *** 2005-03-02 20:56:45 +00:00
Marius Vollmer
896df2d58b Use scm_is_pair instead of SCM_CONSP; use scm_is_null instead of
SCM_NULLP.
2005-03-02 20:50:48 +00:00
Kevin Ryde
b5199d5dd9 *** empty log message *** 2005-02-17 20:51:00 +00:00
Kevin Ryde
6282d93dba (lset-adjoin): Revert change using list' not acc', the
spec is not quite clear, but reference code uses acc, so do that.
2005-02-17 20:35:11 +00:00
Rob Browning
f7fb2f39a4 *** empty log message *** 2005-02-12 06:15:51 +00:00
Kevin Ryde
3087a9816f *** empty log message *** 2005-02-11 21:42:29 +00:00
Kevin Ryde
b064377679 (reduce, reduce-right): Don't call f with ridentity, use
it only if lst is empty, per srfi and intended optimization reduce
represents over fold.
2005-02-11 21:37:08 +00:00
Kevin Ryde
cbec54af5d *** empty log message *** 2005-02-03 23:24:16 +00:00
Kevin Ryde
1bc8745f9b (list=): Correction to arguments passed to given elt=,
spec is (elt= e[i] e[i+1]) for lists i and i+1, previously the first
arg was always from list 0 not list i.
2005-02-03 23:18:59 +00:00
Kevin Ryde
83743da077 *** empty log message *** 2005-01-28 21:54:15 +00:00
Kevin Ryde
59747b8d2d (remove): Rewrite in C, a trivial adaption from scm_filter in the core. 2005-01-28 21:53:47 +00:00
Kevin Ryde
a8109cc0ae (remove): Rewrite in C, a trivial adaption from scm_filter in the core.
(remove!): Use filter!.
2005-01-28 21:51:15 +00:00
Kevin Ryde
38c3534cc9 *** empty log message *** 2005-01-28 21:34:20 +00:00