Mark H Weaver <[email protected]> writes:

> If the range of relevant code points is small enough, another approach
> would be to use a vector:
>
>   (define private-code-point-start #xE000)
>   (define private-code-point-end   #xF900)
>
>   (define (code-point-in-range? cp)
>     (<= private-code-point-start
>         cp
>         private-code-point-end))

Sorry, the definition above is incorrect.  It should be:

   (define (code-point-in-range? cp)
     (<= private-code-point-start
         cp
         (- private-code-point-end 1)))

     Mark

Reply via email to