Hi,

On Fri 28 May 2010 22:52, No Itisnt <theseaisinh...@gmail.com> writes:

> R5RS specifies that character predicates should return #f,

One may interpret the language of the R5RS to permit raising an error if
the argument is not a character. Same with the R6RS. This is the tack
that Guile has taken.

For example, what would you have Guile do here:

  (even? #f) => ?
  (char-whitespace? 42) => ?

> The reason it bothers me is because it makes it cumbersome to deal
> with input from a port.

True; but it's just how it is, I think. The EOF object is not a
character.

Regards,

Andy
-- 
http://wingolog.org/

Reply via email to