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
Marius Vollmer
1dbd057054
*** empty log message ***
2004-10-26 13:25:31 +00:00
Marius Vollmer
3df24a6e5e
(uvec_equalp): Bugfix; multiply length with type size to get the
...
correct number of bytes to compare with memcmp.
2004-10-26 12:55:36 +00:00
Rob Browning
57d2b89964
Update copyright notice.
2004-09-20 05:50:21 +00:00
Rob Browning
7987378bd3
*** empty log message ***
2004-09-20 05:45:39 +00:00
Rob Browning
bd1759069d
Update copyright notice.
2004-09-20 05:44:48 +00:00
Rob Browning
d99217eb04
*** empty log message ***
2004-08-29 23:03:46 +00:00
Rob Browning
e01ebf2451
(s_scm_u32vector_set_x): fix typo in SCM_ASSERT_RANGE call.
2004-08-29 23:01:19 +00:00
Kevin Ryde
3de9c6b6dd
*** empty log message ***
2004-08-27 01:28:25 +00:00
Kevin Ryde
56d545b793
(rec): Add missing `error' to else clause.
...
And fix heading comment.
2004-08-27 01:25:51 +00:00
Marius Vollmer
ffa921b45b
*** empty log message ***
2004-08-15 20:41:52 +00:00
cvs2svn
6b6c42cccf
This commit was manufactured by cvs2svn to create branch
...
'branch_release-1-6'.
2004-08-15 20:26:06 +00:00
Marius Vollmer
3514320f60
New, from Jose A Ortega Ruiz. Thanks!
2004-08-15 20:26:05 +00:00
Kevin Ryde
dcb5d76ba3
*** empty log message ***
2004-08-14 00:43:18 +00:00
Kevin Ryde
038a7484b6
*** empty log message ***
2004-08-14 00:39:01 +00:00
Kevin Ryde
788dafed64
(scm_string_any, scm_string_every): Add support for char
...
and charset as predicates, per SRFI-13 spec.
2004-08-14 00:37:53 +00:00
Kevin Ryde
313f062011
(scm_string_any, scm_string_every): Add support for char
...
and charset as predicates, per SRFI-13 spec.
2004-08-14 00:36:40 +00:00
Marius Vollmer
c41acab35c
*** empty log message ***
2004-08-12 17:52:49 +00:00
Marius Vollmer
57d4d32fa3
(MY_VALIDATE_SUBSTRING_SPEC_COPY, MY_VALIDATE_STRING_COPY): Modernized
...
clones of the deprecated validation macros. Replaced every use.
2004-08-12 17:49:59 +00:00
Rob Browning
e31719e641
*** empty log message ***
2004-08-07 17:04:13 +00:00
Rob Browning
eaec153f17
* srfi-4.c: major overhaul -- essentially all functions affected.
...
Changes fix various type related issues, including 64-bit print
problems. Uniform vector lengths are now officially a size_t
stored in a cell.
(VALIDATE_UVEC, RANGE_CHECK_AND_COPY_UVEC_INDEX): new macros.
(print_int64, print_uint64, print_uint32): new helper functions.
(uvec_print): reworked to use a union.
(uvec_equalp): new function.
(make_uvec): reworked -- now checks for possible overflow.
(uvec_length): new helper function.
(scm_u8vector_p, scm_make_u8vector, scm_u8vector): reworked.
(scm_u8vector_length): reworked.
(scm_u8vector_ref, scm_u8vector_set_x): reworked.
(scm_u8vector_to_list, scm_list_to_u8vector): reworked.
(scm_s8vector_p, scm_make_s8vector, scm_s8vector): reworked.
(scm_s8vector_length): reworked.
(scm_s8vector_ref, scm_s8vector_set_x): reworked.
(scm_s8vector_to_list, scm_list_to_s8vector): reworked.
(scm_u16vector_p, scm_make_u16vector, scm_u16vector): reworked.
(scm_u16vector_length): reworked.
(scm_u16vector_ref, scm_u16vector_set_x): reworked.
(scm_u16vector_to_list, scm_list_to_u16vector): reworked.
(scm_s16vector_p, scm_make_s16vector, scm_s16vector): reworked.
(scm_s16vector_length): reworked.
(scm_s16vector_ref, scm_s16vector_set_x): reworked.
(scm_s16vector_to_list, scm_list_to_s16vector): reworked.
(scm_u32vector_p, scm_make_u32vector, scm_u32vector): reworked.
(scm_u32vector_length): reworked.
(scm_u32vector_ref, scm_u32vector_set_x): reworked.
(scm_u32vector_to_list, scm_list_to_u32vector): reworked.
(scm_s32vector_p, scm_make_s32vector, scm_s32vector): reworked.
(scm_s32vector_length): reworked.
(scm_s32vector_ref, scm_s32vector_set_x): reworked.
(scm_s32vector_to_list, scm_list_to_s32vector): reworked.
(scm_u64vector_p, scm_make_u64vector, scm_u64vector): reworked.
(scm_u64vector_length): reworked.
(scm_u64vector_ref, scm_u64vector_set_x): reworked.
(scm_u64vector_to_list, scm_list_to_u64vector): reworked.
(scm_s64vector_p, scm_make_s64vector, scm_s64vector): reworked.
(scm_s64vector_length): reworked.
(scm_s64vector_ref, scm_s64vector_set_x): reworked.
(scm_s64vector_to_list, scm_list_to_s64vector): reworked.
(scm_init_srfi_4): added check to make sure a size_t fits in a cell.
2004-08-07 17:03:54 +00:00
Kevin Ryde
03034594e0
*** empty log message ***
2004-08-05 00:13:24 +00:00
Kevin Ryde
46c4d06529
(scm_string_any, scm_string_every): Enhance docstrings as
...
per doc/ref/srfi-modules.texi.
2004-08-05 00:12:59 +00:00
Marius Vollmer
d9a67fc441
(scm_make_real, scm_num2dbl, scm_float2num, scm_double2num):
...
Discouraged by moving to discouraged.h and discouraged.c.
Replaced all uses with scm_from_double.
(scm_num2float, scm_num2double): Discouraged by moving prototype
to discouraged.h and rewriting in terms of scm_to_double.
Replaced all uses with scm_to_double.
2004-08-03 15:06:12 +00:00
Marius Vollmer
dbf3eb1f73
*** empty log message ***
2004-08-02 16:20:03 +00:00
Marius Vollmer
506c91a13b
Replaced scm_num2* and scm_*2num with scm_to_* and
...
scm_from_*, respectively.
(print_int64, print_uint64): Rewritten by just calling scm_iprin1
on a SCM.
2004-08-02 16:19:53 +00:00
Kevin Ryde
13aa46a9de
*** empty log message ***
2004-08-02 00:32:16 +00:00