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

292 commits

Author SHA1 Message Date
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
Kevin Ryde
a33931ae8d (lset-adjoin): Actually use the given `=' procedure.
Test membership only on the given `list', not `acc', as per the spec.
2005-01-28 21:30:47 +00:00
Kevin Ryde
feb22e8f80 *** empty log message *** 2005-01-27 23:13:43 +00:00
Kevin Ryde
600af2edd5 (lset=): Correction to pred call arg order, srfi spec is
(= e[i] e[i+1]), but had some calls the other way around.
2005-01-27 23:11:36 +00:00
Kevin Ryde
d27d4bf7a7 *** empty log message *** 2005-01-23 21:28:45 +00:00
Kevin Ryde
4e3cc389f0 (scm_srfi1_member): Update docstring from manual. 2005-01-23 21:27:51 +00:00
Kevin Ryde
2f0a4e3072 *** empty log message *** 2005-01-23 21:02:42 +00:00
Kevin Ryde
2796304a40 (scm_srfi1_member): Correction to pred call arg order, srfi
spec is (PRED X elem).
2005-01-23 21:02:13 +00:00
Kevin Ryde
8e15d7f577 Add a copyright year. 2005-01-23 20:47:36 +00:00
Kevin Ryde
9d494a7371 (lset=): Allow no list arguments, per srfi spec example. 2005-01-23 20:47:12 +00:00
Kevin Ryde
0f0bf3b2dd *** empty log message *** 2005-01-17 22:32:52 +00:00
Kevin Ryde
191be0a639 Remove (ice-9 session) and (ice-9 receive), not used. 2005-01-17 22:26:07 +00:00
Kevin Ryde
89efd60ca1 *** empty log message *** 2005-01-11 23:55:37 +00:00
Kevin Ryde
b9f69396c7 (current-input-port, current-output-port): Parameter
replacements for core functions, per SRFI spec.
(current-error-port): The same, for consistency.
2005-01-11 23:47:44 +00:00
Marius Vollmer
3d8bccbd81 *** empty log message *** 2005-01-10 01:50:49 +00:00
Marius Vollmer
3a0cf65611 (check_args): Bugfix to change from 2005-01-02: ARGV is the vector to
check, not ARGS.
2005-01-10 01:50:29 +00:00
Marius Vollmer
5be5e69974 *** empty log message *** 2005-01-02 21:04:11 +00:00
Marius Vollmer
3c4ce91b65 Use new vector elements API or simple vector API, as
appropriate.
2005-01-02 21:01:55 +00:00
Kevin Ryde
45bb786f75 *** empty log message *** 2005-01-01 22:57:38 +00:00
Kevin Ryde
cfe0a00814 (srfi_DATA): Add srfi-39.scm. 2005-01-01 22:49:03 +00:00
Mikael Djurfeldt
e1ea3bf908 Update, document available SRFIs. 2004-12-20 21:20:52 +00:00
Kevin Ryde
371e3f7778 *** empty log message *** 2004-12-06 00:44:44 +00:00
Kevin Ryde
ba94ef0c7f (break): Change to a tail-recursive form. 2004-12-06 00:39:27 +00:00
Kevin Ryde
379b03074e (span): Change to a tail-recursive form. 2004-12-06 00:34:53 +00:00
Kevin Ryde
49ae1e250f (alist-delete): Change to a tail-recursive form. 2004-12-06 00:09:14 +00:00
Kevin Ryde
41ab236c76 (alist-delete): Correction to equality proc call argument
order, spec is for given KEY param first.
2004-12-05 23:53:20 +00:00
Kevin Ryde
64f7942092 *** empty log message *** 2004-12-05 21:44:53 +00:00
Kevin Ryde
aa0745cc05 (alist-copy): Change to a tail-recursive form. 2004-12-05 21:44:18 +00:00
Kevin Ryde
eadc07b568 *** empty log message *** 2004-12-04 23:18:17 +00:00
Kevin Ryde
8b981efda4 (append-map, append-map!): Rewrite as simple "concatenate map" forms,
for tail recursiveness.
2004-12-04 23:16:52 +00:00
Kevin Ryde
558d5c0346 (append-map, append-map!): Rewrite as simple "apply append" forms, for
tail recursiveness.
2004-12-04 23:05:04 +00:00
Kevin Ryde
da9c77cf05 *** empty log message *** 2004-12-04 22:37:03 +00:00
Kevin Ryde
0d09b3ff64 (filter-map): Change to a tail-recursive form. 2004-12-04 22:35:30 +00:00
Marius Vollmer
79d5218263 *** empty log message *** 2004-10-26 17:05:46 +00:00
Marius Vollmer
0d0f372f5b Moved content into core; only the skeletons remains. 2004-10-26 17:01:35 +00:00
Marius Vollmer
3350b67639 *** empty log message *** 2004-10-22 13:58:43 +00:00
Marius Vollmer
376c18e1d2 (print_int64, print_uint64): Removed. (uvec_print): Use scm_intprint
for signed elemets and scm_uintprint for unsigned ones.  Do not use
print_int64 and print_uint64 since scm_intprint and scm_Uintprint can
handle 64 bits now.
2004-10-22 13:58:34 +00:00
Stefan Jahn
edea856ce5 2004-09-03 Stefan Jahn <stefan@lkcc.org>
* configure.in (isinf): Let configure find the isinf() function
        on MinGW32 systems.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * threads.c (scm_threads_mark_stacks):  Fixed local variable
        definitions.

        * strings.c (scm_i_substring_copy, s_scm_string_append): Fixed
        local variable definitions.

        * stime.c (_POSIX_C_SOURCE):  Do not define this item on
        MinGW32 because it conflicts with its pthread headers.
        (s_scm_mktime): Consider the HAVE_STRUCT_TM_TM_ZONE define.
        (s_scm_strftime): Using scm_from_locale_string() instead of
        scm_makfrom0str().

        * posix.c (s_scm_putenv): Fixed typo in the !HAVE_UNSETENV
        part.

        * numbers.c (scm_init_numbers): Removed check_sanity() call
        inside GUILE_DEBUG.  The function has been removed somewhen...

        * filesys.c (_POSIX_C_SOURCE): Do not define this item on
        MinGW32 because it conflicts with its pthread headers.

2004-09-03  Stefan Jahn  <stefan@lkcc.org>

        * srfi-1.c, srfi-1.h: Renamed any 'lst1' into 'list1' because
        lst1 is a #define on Win32 systems.
2004-09-03 19:45:37 +00:00