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

10241 commits

Author SHA1 Message Date
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
0da830fa49 (list=): New tests. 2005-02-03 23:21:17 +00:00
Kevin Ryde
fab030a253 *** empty log message *** 2005-01-28 21:34:42 +00:00
Kevin Ryde
44a84ce09e (lset-adjoin): New tests. 2005-01-28 21:32: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
261c243e91 *** empty log message *** 2005-01-27 23:21:34 +00:00
Kevin Ryde
a9c3bff968 (lset=): New tests. 2005-01-27 23:20:14 +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
37666d49b9 *** empty log message *** 2005-01-23 22:02:40 +00:00
Kevin Ryde
7398c4370a (scm_setlocale): Force errno=EINVAL for an error, since
POSIX and C99 don't document errno being set.  Reported by Bruno
Haible.
2005-01-23 21:57:17 +00:00
Kevin Ryde
92277bd59d *** empty log message *** 2005-01-23 21:33:24 +00:00
Kevin Ryde
fb5f4acc64 (lset=): Exercise no-arg case. 2005-01-23 21:31:15 +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
Marius Vollmer
71d1dd79b7 *** empty log message *** 2005-01-17 19:05:03 +00:00
Marius Vollmer
ba96ba4cdc * objects.h, objects.c (scm_classes_initialized): New.
(scm_class_of): Signal error when scm_classes_initialized is zero.
* goops.c (create_standard_classes): Set scm_classes_initialized
to one.
2005-01-17 19:04:54 +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
435298181d (current-input-port, current-output-port, current-error-port): New tests. 2005-01-11 23:52:20 +00:00
Marius Vollmer
79486f9fdb *** empty log message *** 2005-01-10 20:28:47 +00:00
Marius Vollmer
5a01596b0d (process-define-module): Check for #:use-syntax keyword, not the
symbol.  Changed references to 'spec' variable to 'interface-args'.
There is no 'spec'.
2005-01-10 20:28:34 +00:00
Marius Vollmer
1882a272f7 (scm_eval): Added example to docstring. Thanks to Issac
Trotts!
2005-01-10 20:25:39 +00:00
Kevin Ryde
1d18f1b199 *** empty log message *** 2005-01-02 00:58:04 +00:00
Kevin Ryde
8dd93b9695 (SCM_TESTS): Add srfi-39.test. 2005-01-02 00:41:55 +00:00
Neil Jerram
f268660d1e Fix making a stack from a continuation (ChangeLog). 2004-12-27 23:21:09 +00:00
Neil Jerram
6686011779 Fix making a stack from a continuation, and related functions. 2004-12-27 23:19:30 +00:00
Rob Browning
1bb3ba5ad4 *** empty log message *** 2004-12-21 17:26:59 +00:00
Rob Browning
2e801b15b4 (GUILE_MICRO_VERSION): bump for release. 2004-12-21 17:26:43 +00:00
Rob Browning
8fbe44bcd2 *** empty log message *** 2004-12-19 15:49:18 +00:00
Rob Browning
adb7ec4e07 *** empty log message *** 2004-12-19 15:32:19 +00:00
Rob Browning
24b81e8d8f (subdirs_with_ltlibs): Remove libguile-ltdl since lt_dlopen (and
friends) aren't called on any libraries in ./libguile-ltdl.
2004-12-19 15:31:47 +00:00
Rob Browning
660ab63ded *** empty log message *** 2004-12-19 15:19:15 +00:00
Rob Browning
4f43d1f282 (guile_LDADD): add libguile-ltdl.la to keep
./pre-inst-guile (actually ./.libs/lt-guile) from failing on some
architectures.  The unconfirmed suspicion is that this is some
problem with autotools (automake, autoconf, and/or libtool) since
libguile already includes a libguile-ltdl.la dependency.
2004-12-19 15:19:06 +00:00
Kevin Ryde
103cc4e9db More of:
New file, test array-map!.
2004-12-15 23:11:39 +00:00
Kevin Ryde
ae828a0437 *** empty log message *** 2004-12-15 23:06:47 +00:00
Kevin Ryde
95e2f3c9b7 * tests/ramap.test: New file, test array-map!.
* Makefile.am (SCM_TESTS): Add it.
2004-12-15 23:06:09 +00:00
Kevin Ryde
2675a8d0b4 New file, test array-map!. 2004-12-15 23:03:21 +00:00
Kevin Ryde
6694258059 *** empty log message *** 2004-12-15 22:58:25 +00:00
Kevin Ryde
1885f42093 (scm_array_map_x): Correction to sources list check, only
need at least one source, not two.  And use SCM_WRONG_NUM_ARGS() for
the error.
2004-12-15 22:54:54 +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
4bf2783b00 *** empty log message *** 2004-12-08 23:07:17 +00:00
Kevin Ryde
fd4ba60be8 (string->number): New tests. 2004-12-08 22:59:42 +00:00
Kevin Ryde
6255e812dc *** empty log message *** 2004-12-08 22:56:52 +00:00
Kevin Ryde
0e66d88fa2 (scm_istr2int): Correction to bignum size calculation for
bases other than 2, 10, 16.  This avoids overflows, in particular in
octal string->number and constants (other bases are undocumented, but
reach here so may as well work).
2004-12-08 22:50:09 +00:00