[R6RS] proof-reading, part 2

William D Clinger will at ccs.neu.edu
Sun May 20 10:50:27 EDT 2007

> > Even more perplexing is the definition of char-title-case? to be true
> > only of characters in general category Lt; that means, for example,
> > that (char-title-case? #\A) returns #f.
> What would be a better definition?  I haven't been able to come up with
> any alternative meaning.

Here is one possible definition:

  (define (char-title-case? c)
    (and (not (char=? c (char-foldcase c)))
         (char=? c (char-titlecase c))))


More information about the R6RS mailing list