Kevin Ryde
9147cd32d0
More:
...
(array-map!): Further tests.
2005-04-25 00:14:37 +00:00
Kevin Ryde
5ecde1552a
Add a copyright year.
2005-04-25 00:11:39 +00:00
Kevin Ryde
5cc196c863
*** empty log message ***
2005-04-25 00:11:01 +00:00
Kevin Ryde
20d5196b06
(array-map!): Further tests.
2005-04-25 00:10:02 +00:00
Kevin Ryde
09cd7e1d3a
(scm_array_map_x): Allow no source args, add num args checks
...
to subr_1, subr_2, subr_2o and cxr cases.
2005-04-25 00:07:58 +00:00
Kevin Ryde
37aa7d870c
*** empty log message ***
2005-04-23 00:39:18 +00:00
Kevin Ryde
793060ce83
(numerator, denominator): New tests.
2005-04-23 00:38:44 +00:00
Kevin Ryde
a3d13e26cd
(numerator, denominator): New functions as specified by
...
R5RS, 7 lines by Aubrey Jaffer.
2005-04-23 00:36:41 +00:00
Kevin Ryde
4a44616e4b
(list, cons*): New tests.
2005-04-22 23:51:13 +00:00
Kevin Ryde
c5930bd781
*** empty log message ***
2005-04-22 23:48:36 +00:00
Kevin Ryde
f98f48bd06
(scm_cons_star): Don't modify the rest list, it belongs to
...
the caller when cons* is reached through apply.
2005-04-22 23:47:52 +00:00
Kevin Ryde
36ef49fbb4
(list): Use scm_list_copy, so as to produce a fresh list when
...
list is called using apply, under the debugging evaluator.
(scm_list): Remove.
2005-04-22 23:47:10 +00:00
Kevin Ryde
077ff34b50
*** empty log message ***
2005-04-02 00:43:59 +00:00
Kevin Ryde
f0c172c2d8
*** empty log message ***
2005-04-01 23:53:25 +00:00
Kevin Ryde
9546cfc43a
(lset-union): New tests.
2005-04-01 23:50:38 +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
c581c8eb55
*** empty log message ***
2005-03-25 20:57:03 +00:00
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