[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unicode numeric value

From: Mark H Weaver
Subject: Re: Unicode numeric value
Date: Mon, 17 Dec 2018 13:52:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Mark H Weaver <address@hidden> 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
         (- private-code-point-end 1)))


reply via email to

[Prev in Thread] Current Thread [Next in Thread]