* srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
authorGary Houston <ghouston@arglist.com>
Tue, 31 Jul 2001 21:42:24 +0000 (21:42 +0000)
committerGary Houston <ghouston@arglist.com>
Tue, 31 Jul 2001 21:42:24 +0000 (21:42 +0000)
commit9be745030e215de6a0ee5e14e0d1e5c0398c704f
tree122943645b05742abbeb914b03d069d00df7a7b7
parent88c4ba2aefd9175068e479d87d6e69e83c9c08d5
* 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.
srfi/ChangeLog
srfi/srfi-14.c
srfi/srfi-14.h