Kevin Ryde
3c812ec1db
(string-index): Exercise 8-bit char in string.
2005-03-25 20:56:33 +00:00
Kevin Ryde
1db3c9000f
Change from the head 2004-04-06 by Han-Wen Nienhuys:
...
Fixes srfi-13 string-index segv on strings containing 8-bit
characters, reported by Alexey Voinov.
* chars.h (SCM_MAKE_CHAR): add (unsigned char) cast. This prevents
havoc when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
2005-03-25 20:54:09 +00:00
Kevin Ryde
cb76f541e0
*** empty log message ***
2005-03-17 21:25:06 +00:00
Kevin Ryde
f853805e96
* tests/srfi-17.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2005-03-17 21:24:41 +00:00
Kevin Ryde
691727afee
New file.
2005-03-17 21:24:00 +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
9ae567ebda
*** empty log message ***
2005-03-07 22:51:36 +00:00
Kevin Ryde
df2580a176
(*features*): Remove 'random, need to use the slib code for
...
that module since guile doesn't provide `random:chunk'.
2005-03-07 22:46:07 +00:00
Kevin Ryde
b12fc874dc
*** empty log message ***
2005-02-20 22:57:06 +00:00
Kevin Ryde
11f27efa11
(string->number): Exercise polar form with invalid angle.
2005-02-20 22:53:58 +00:00
Kevin Ryde
1bbf2cb8cd
(scm_istr2flo): In polar form angle part, use SCM_INEXACTP
...
not SCM_SLOPPY_INEXACTP, since recursive scm_istr2flo can give #f.
Reported by Rafael Avila de Espíndola.
2005-02-20 22:52:01 +00:00
Kevin Ryde
8bf854053f
*** empty log message ***
2005-02-17 21:10:34 +00:00
Kevin Ryde
1692522d53
(lset-adjoin): Amend tests to expect duplicates among args cast out.
2005-02-17 20:58:01 +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
463cd21d69
(reduce, reduce-right): New tests.
2005-02-11 21:41:33 +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
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