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

389 commits

Author SHA1 Message Date
Rob Browning
5bc79276df *** empty log message *** 2005-10-15 01:56:17 +00:00
Rob Browning
1fbd9e82cc (scm_string_any, scm_string_every, scm_string_to_listS)
(scm_string_trim, scm_string_trim_right)
(scm_string_trim_right, scm_string_trim_both)
(scm_string_compare, scm_string_compare_ci, scm_string_eq)
(scm_string_neq, scm_string_lt, scm_string_gt)
(scm_string_le, scm_string_ge, scm_string_ci_eq)
(scm_string_ci_neq, scm_string_ci_lt, scm_string_ci_gt)
(scm_string_ci_le, scm_string_ci_ge, scm_string_indexS)
(scm_string_index_right, scm_string_skip)
(scm_string_skip_right, scm_string_count, scm_string_map)
(scm_string_map_x, scm_string_fold, scm_string_fold_right)
(scm_string_for_each, scm_string_filter, scm_string_delete): Fix
char vs unsigned char mismatches in various function calls.  For
the most part, this means adding a char * alias to existing
unsigned char * for calls to SCM_VALIDATE_SUBSTRING_SPEC_COPY
which won't accept a simple coercion and requires a char *.  There
were also some calls to scm_mem2string() and SCM_STRING_CHARS()
that needed to be fixed.
2005-10-15 01:55:36 +00:00
Kevin Ryde
812435bee2 *** empty log message *** 2005-08-18 23:47:44 +00:00
Kevin Ryde
3c146f8604 (priv:leap-second-table): Add new 2005 leap second. 2005-08-18 23:46:00 +00:00
Marius Vollmer
7d81830dd2 The FSF has a new address. 2005-05-23 20:15:36 +00:00
Marius Vollmer
0f2c4fb3a3 *** empty log message *** 2005-05-22 19:12:37 +00:00
Marius Vollmer
b7c59b11ad (scm_string_any, scm_string_every, scm_string_to_listS,
scm_string_trim, scm_string_trim_right, scm_string_trim_both,
scm_string_compare, scm_string_compare_ci, scm_string_eq,
scm_string_neq, scm_string_lt, scm_string_gt, scm_string_le,
scm_string_ge, scm_string_ci_eq, scm_string_ci_neq, scm_string_ci_lt,
scm_string_ci_gt, scm_string_ci_le, scm_string_ci_ge,
scm_string_indexS, scm_string_index_right, scm_string_skip,
scm_string_skip_right, scm_string_count, scm_string_map,
scm_string_map_x, scm_string_fold, scm_string_fold_right,
scm_string_for_each, scm_string_filter, scm_string_delete): Use
"unsigned char" instead of "char" so that non-ASCII characters can be
dealt with.  Thanks to Alexey Voinov!
2005-05-22 19:12:22 +00:00
Kevin Ryde
077ff34b50 *** empty log message *** 2005-04-02 00:43:59 +00:00
Kevin Ryde
df99edbcbe (lset-union): Rewrite to accumulate result by consing in
the order specified by the SRFI.
2005-04-01 23:48:42 +00:00
Kevin Ryde
cb76f541e0 *** empty log message *** 2005-03-17 21:25:06 +00:00
Kevin Ryde
4eea81f8c3 Put "export" at the end of the file for redefined core
procedures, to avoid deprecation warnings about re-exporting with
export.  Reported by Alan Grover.
2005-03-17 21:22:52 +00:00
Kevin Ryde
62a7e5d4ee (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:52:49 +00:00
Kevin Ryde
3983d66b0e *** empty log message *** 2005-02-17 20:49:28 +00:00
Kevin Ryde
85ce4705fb *** empty log message *** 2005-02-11 21:42:08 +00:00
Kevin Ryde
04171cd571 (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:38:02 +00:00
Kevin Ryde
fbef82bd1f *** empty log message *** 2005-02-03 23:23:57 +00:00
Kevin Ryde
b016435abd (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:23:37 +00:00
Kevin Ryde
fab030a253 *** empty log message *** 2005-01-28 21:34:42 +00:00
Kevin Ryde
5ef7de4fa7 (lset-adjoin): Actually use the given `=' procedure.
Test membership only on the given `list', not `acc', as per the spec.
2005-01-28 21:31:30 +00:00
Kevin Ryde
cafbb8c05d *** empty log message *** 2005-01-27 23:13:17 +00:00
Kevin Ryde
d5fd638ca5 (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:12:26 +00:00
Kevin Ryde
b73d815e15 *** empty log message *** 2005-01-23 20:57:29 +00:00
Kevin Ryde
cee91599da Add a copyright year. 2005-01-23 20:56:40 +00:00
Kevin Ryde
b048be23f8 (lset=): Allow no list arguments, per srfi spec example. 2005-01-23 20:46:24 +00:00
Kevin Ryde
332036c18a *** empty log message *** 2005-01-11 23:55:12 +00:00
Kevin Ryde
3c5929129f (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:54:07 +00:00
Kevin Ryde
f940eac247 *** empty log message *** 2004-12-13 23:42:27 +00:00
Kevin Ryde
eda8ed2152 *** empty log message *** 2004-12-13 23:40:37 +00:00
Kevin Ryde
b666fb5d31 (string-any, string-every): Use a scheme
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
2004-12-13 23:33:30 +00:00
Kevin Ryde
d17d824af6 *** empty log message *** 2004-12-06 00:47:07 +00:00
Kevin Ryde
b34001408f (break): Change to a tail-recursive form. 2004-12-06 00:40:07 +00:00
Kevin Ryde
90ec7c2e93 (span): Change to a tail-recursive form. 2004-12-06 00:36:08 +00:00
Kevin Ryde
f97ef6e462 (alist-delete): Change to a tail-recursive form. 2004-12-06 00:08:38 +00:00
Kevin Ryde
0d3f7e6223 (alist-delete): Correction to equality proc call argument
order, spec is for given KEY param first.
2004-12-05 23:54:43 +00:00
Kevin Ryde
ac5cbc7031 (delete-duplicates): Remove unused extra copy of this routine. 2004-12-05 22:51:12 +00:00
Kevin Ryde
6b0fbcf5e5 (delete-duplicates): Change to a tail-recursive form. 2004-12-05 22:49:54 +00:00
Kevin Ryde
95bc9d7a2e (delete): Change to a tail-recursive form. 2004-12-05 22:33:10 +00:00
Kevin Ryde
49046d53e0 (map!): Change to a tail-recursive form. 2004-12-05 22:26:29 +00:00
Kevin Ryde
f6ff79c415 (partition): Change to a tail-recursive form. 2004-12-05 22:19:38 +00:00
Kevin Ryde
ea9867de6a (map): Change to a tail-recursive form. 2004-12-05 21:59:14 +00:00
Kevin Ryde
bbf21c8a13 (alist-copy): Change to a tail-recursive form. 2004-12-05 21:47:39 +00:00
Kevin Ryde
18a236fe43 *** empty log message *** 2004-12-05 00:54:47 +00:00
Kevin Ryde
337e4b2f68 (count): Change to a tail-recursive form. 2004-12-05 00:53:53 +00:00
Kevin Ryde
66f0ff4ab9 (append-map, append-map!): Rewrite as simple "apply append" forms, for
tail recursiveness.
2004-12-04 23:13:16 +00:00
Kevin Ryde
e3343fd54c *** empty log message *** 2004-12-04 22:33:11 +00:00
Kevin Ryde
31a0d94d6f (filter-map): Change to a tail-recursive form. 2004-12-04 22:23:16 +00:00
Rob Browning
834b4863d8 *** empty log message *** 2004-11-12 03:58:40 +00:00
Rob Browning
aea9a070fc (srfi_DATA): add srfi-39.scm. 2004-11-12 03:58:13 +00:00
Marius Vollmer
0c8ba7fb26 *** empty log message *** 2004-11-04 15:25:57 +00:00
Marius Vollmer
f64f0bfff4 (make_uvec): Use ((size_t)-1) instead of SIZE_MAX, for better
portability.
2004-11-04 15:22:02 +00:00