Thien-Thi Nguyen
f4f1c79032
*** empty log message ***
2001-08-25 19:07:24 +00:00
Thien-Thi Nguyen
dfcbae095d
*** empty log message ***
2001-08-24 22:16:40 +00:00
Thien-Thi Nguyen
691365f22a
*** empty log message ***
2001-08-23 19:09:08 +00:00
Gary Houston
aaf41af6d5
* srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
...
accounting for the (char-set-union cs2...) in the spec. i.e.,
(char-set-diff+intersection a) -> copy-of-a, empty-set
and the following are equivalent:
(char-set-diff+intersection a (char-set #\a) (char-set #\b))
(char-set-diff+intersection a (char-set #\a #\b))
(scm_char_set_xor_x): disabled the side-effecting code, since it
gives inconsistent results to scm_char_set_xor for the case
(char-set-xor! a a a).
(scm_char_set_diff_plus_intersection_x): added cs2 argument, since
two arguments are compulsory in final spec. also similar changes
as for scm_char_set_diff_plus_intersection.
* srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
2001-07-31 21:50:30 +00:00
Gary Houston
3eb5076d65
Reverse the n-ary logxor change. The behaviour is weird in a set
...
context, but consistent with logxor and scsh. Maybe it should get
the benefit of the doubt.
2001-07-22 23:22:07 +00:00
Gary Houston
714dd5fadf
(scm_char_set_xor): bug fix: characters should only be included if
...
they occur in exactly one argument, but were included if they
occured an odd number of times >= 3, e.g, in (char-set-xor a a a)
where a is (char-set #\a). fix it with a "mask" array.
2001-07-22 22:03:47 +00:00
Gary Houston
a6ec2a3cef
* srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
...
the compulsory cs1 arguments: all args are optional in final spec.
* srfi-14.h: declarations updated.
2001-07-22 20:19:12 +00:00
Martin Grabmüller
e0e3ab6ec4
* srfi-11.scm, srfi-8.scm: Update copyright notice.
2001-07-19 20:50:18 +00:00
Martin Grabmüller
0250dddaa8
* srfi-14.c: Okay. Now I got it. Really. This time it's fixed.
...
Guaranteed. (Maybe)
* srfi-19.scm: Define `current-time' before exporting it.
2001-07-17 19:40:29 +00:00
Martin Grabmüller
8ae7ecf74e
* srfi-14.c: Fix for bug caused by brain-malfunctioning on my
...
side. Bit sets were handled wrong because I couldn't tell bit
counts from byte counts. Also, the bit array should be 256 / 8
bytes long. Thank you, Gary!
Removed unnecessary protoype for scm_char_set_copy.
2001-07-17 05:37:25 +00:00
Gary Houston
f47ed23fa2
* srfi-14.scm: export string->char-set!, not string-char-set!.
...
* srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next,
scm_end_of_char_set_p): reject negative cursor values.
(scm_list_to_char_set, scm_list_to_char_set_x): when reporting
type error in list component, omit the position (was always 1).
2001-07-16 22:31:56 +00:00
Martin Grabmüller
5c8c4411a8
(scm_char_set_map): Bug-fix: char-set-map was modifying the
...
argument instead of the return value.
2001-07-16 18:50:29 +00:00
Martin Grabmüller
6750a1baac
* srfi-14.c: Allocate correct memory size for charsets (32 bytes),
...
use this value for initializing and comparing charsets.
(scm_char_set_hash): Use ``better'' hash algorithm which produces
more values.
2001-07-16 17:02:39 +00:00
Gary Houston
37ca12fb60
(scm_char_set_hash): bug fix: was overrunning the buffer and
...
calculating based on garbage.
(scm_char_set_eq, scm_char_set_leq): fix argument number in error
reporting: wasn't incremented due to macro coding.
(scm_char_set): report argument number in error reporting: was
hard coded to 1. remove a couple of local variables.
2001-07-15 18:55:45 +00:00
Gary Houston
f1a928f435
* srfi-14.c (scm_char_set_hash): recognise 0 instead of #f in the
...
opt arg to give default bound, as in final spec. don't allow
negative bounds.
2001-07-15 15:20:31 +00:00
Marius Vollmer
ee8099b2d9
*** empty log message ***
2001-07-12 23:32:58 +00:00
Gary Houston
88151d3284
(s_scm_char_set_leq): similarly, (char-set<=) should return #t.
...
take a single "rest" argument.
2001-07-11 22:01:37 +00:00
Gary Houston
2545bd29ee
* srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
...
return #t instead of giving wrong-number-of-arguments . take a
single "rest" argument. use memcmp instead of a loop to compare
the values.
srfi-14.h: update the declaration.
2001-07-11 20:49:05 +00:00
Martin Grabmüller
ccffec9318
* README: Cleanup.
2001-07-09 19:14:39 +00:00
Gary Houston
99f59e93b5
* srfi-1.scm (iota, map, for-each, list-index, member, delete,
...
delete!, assoc): roll back the previous change. instead place
dummy definitions in a deprecated block at the beginning as in
srfi-13.scm.
2001-07-06 21:10:47 +00:00
Rob Browning
0d6209aa9e
*** empty log message ***
2001-07-06 14:00:21 +00:00
Gary Houston
6d52dbf2ef
(map-in-order): defined and exported, to support lists of unequal
...
length.
2001-07-03 20:18:39 +00:00
Gary Houston
26c22ea816
*** empty log message ***
2001-07-03 18:55:28 +00:00
Martin Grabmüller
e800aa0482
* srfi-1.scm (list-tabulate): Do not go into infinite loop for
...
invalid arguments. Same fix for several other procedures (do not
use zero?, use <= 0).
2001-07-03 16:19:23 +00:00
Martin Grabmüller
018adcae03
* srfi-1.scm (list-tabulate): Do not go into infinite loop for
...
invalid arguments.
2001-07-03 15:35:08 +00:00
Martin Grabmüller
cef248dd61
* srfi-1.scm: Replaced calls to `map' in several procedures to
...
calls to `map1'.
(map, for-each): New procedures, extended from R5RS.
2001-07-02 17:50:28 +00:00
Martin Grabmüller
2c4df45186
* srfi-4.c: Minor cleanups.
...
* srfi-14.c (scm_char_set_fold, scm_char_set_unfold)
(scm_char_set_unfold_x, scm_char_set_for_each)
(scm_char_set_map, scm_char_set_filter)
(scm_char_set_filter_x, scm_char_set_count)
(scm_char_set_every, scm_char_set_any): Replace calls to
scm_apply() with the corresponding scm_call_N() functions.
* srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next)
(scm_char_set_unfold, scm_char_set_unfold_x)
(scm_char_set_map, scm_char_set_diff_plus_intersection)
(scm_char_set_diff_plus_intersection_x): Replace deprecated macros
SCM_LISTN with calls to scm_list_N().
* srfi-13.c (scm_string_tabulate, scm_string_map)
(scm_string_map_x, scm_string_unfold)
(scm_string_unfold_right): Replace deprecated macros SCM_LISTN
with calls to scm_list_N().
* srfi-13.c (scm_string_any, scm_string_every),
(scm_string_tabulate, scm_string_trim),
(scm_string_trim_right, scm_string_trim_both),
(scm_string_compare, scm_string_compare_ci),
(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_unfold),
(scm_string_unfold_right, scm_string_for_each),
(scm_string_filter, scm_string_delete): Replace calls to
scm_apply() with the corresponding scm_call_N() functions.
2001-06-28 16:39:00 +00:00
Martin Grabmüller
71ca65d982
* Makefile.am: Added SRFI-4 files in various places.
...
* srfi-4.c, srfi-4.h, srfi-4.scm: New files implementing SRFI-4.
2001-06-27 13:18:40 +00:00
Dirk Herrmann
3628462791
* Deprecated scm_makfromstr and added scm_mem2string as a replacement.
...
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
2001-06-26 10:59:34 +00:00
Marius Vollmer
f65811137e
*** empty log message ***
2001-06-25 01:07:36 +00:00
Marius Vollmer
d0e06238b4
*** empty log message ***
2001-06-18 18:31:14 +00:00
Marius Vollmer
0f002b27a3
*** empty log message ***
2001-06-14 18:26:43 +00:00
Dirk Herrmann
e81d98ec2d
* Introduce SCM_UNUSED and mark unused function parameters.
...
* Introduce SCM_DEBUG_PAIR_ACCESSES.
* Extend the possibilities of SCM_DEBUG_CELL_ACCESSES.
2001-06-07 21:12:19 +00:00
Martin Grabmüller
563058efbe
* srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.
...
(delete-duplicates): Now the first occurrence of an element is
retained, as required.
(member, assoc): Fixed wrong order of equality predicate
application.
2001-06-07 17:54:40 +00:00
Martin Grabmüller
e9680547d3
* README: Update.
...
* srfi-1.scm: New file.
2001-06-07 04:27:37 +00:00
Marius Vollmer
f480396be5
*** empty log message ***
2001-06-03 23:34:08 +00:00
Martin Grabmüller
dd22a80ac6
* srfi-14.scm, srfi-13.scm: Use `load-extension' for loading the
...
shared library.
2001-05-31 18:22:54 +00:00
Michael Livshin
998c3141ac
* Makefile.am (MKDEP): copied from libguile/Makefile.am, just in
...
case.
(CLEANFILES): added *.x (and removed from DISTCLEANFILES)
2001-05-31 12:47:24 +00:00
Michael Livshin
6b0d28a380
* srfi-19.scm: removed a stray open parenthesis. (thanks to
...
Matthias Köppe for the report).
2001-05-28 14:36:00 +00:00
Rob Browning
60a54e2fca
*** empty log message ***
2001-05-23 17:00:53 +00:00
Rob Browning
b9309d1665
* srfi-19.scm (:optional): renamed to optional to avoid reader
...
keywords conflict. Thanks to Matthias Koeppe for the report.
2001-05-23 15:24:41 +00:00
Martin Grabmüller
1b2f40b9f1
* README: Update, document available SRFIs.
...
* srfi-19.scm, srfi-17.scm, srfi-16.scm, srfi-14.scm, srfi-13.scm,
srfi-11.scm, srfi-10.scm, srfi-9.scm, srfi-8.scm, srfi-6.scm,
srfi-2.scm: Use `cond-expand-provide' for providing features to
`cond-expand'.
2001-05-23 05:04:55 +00:00
Rob Browning
d579d1652d
*** empty log message ***
2001-05-22 23:26:36 +00:00
Marius Vollmer
2fc933fe89
*** empty log message ***
2001-05-20 00:36:40 +00:00
Marius Vollmer
de208a7462
Fix typos.
2001-05-19 00:19:43 +00:00
Marius Vollmer
7c628196fd
*** empty log message ***
2001-05-19 00:19:42 +00:00
Martin Grabmüller
6851c8a446
* Makefile.am (srfi_DATA): Added srfi-16.scm.
...
* srfi-16.scm: New file.
2001-05-14 19:07:51 +00:00
Martin Grabmüller
163a7e0d02
* srfi-13.c (scm_string_delete): Logic was inversed for charset.
...
Fixed.
2001-05-10 13:53:28 +00:00
Martin Grabmüller
2abe254dac
* srfi-13.c (scm_string_copyS): Fixed nasty bug.
2001-05-07 22:27:29 +00:00
Rob Browning
2b60bc955f
*** empty log message ***
2001-05-06 03:33:46 +00:00