Re: char-set-contains? and #

2010-05-28 Thread No Itisnt
R5RS specifies that character predicates should return #f, and Guile's character predicates are implemented in terms of char-set-contains? R6RS says the same for char-set-contains? The reason it bothers me is because it makes it cumbersome to deal with input from a port. Case in point: > $ grep "

Re: char-set-contains? and #

2010-05-28 Thread Ludovic Courtès
Hi, No Itisnt writes: > It's getting pretty annoying that char-set-contains? rejects #. It makes sense to me given that SRFI-14 (informally) defines the second argument as being a character (and # is not a character): http://srfi.schemers.org/srfi-14/srfi-14.html#char-set-contains-p Thanks,