From: Mark H Weaver <mhw@netris.org>
To: Freeman Gilmore <freeman.gilmore@gmail.com>
Cc: guile-user@gnu.org
Subject: Re: Unicode numeric value
Date: Mon, 17 Dec 2018 13:52:20 -0500 [thread overview]
Message-ID: <877eg8x9xc.fsf@netris.org> (raw)
In-Reply-To: <87bm5kxae3.fsf@netris.org> (Mark H. Weaver's message of "Mon, 17 Dec 2018 13:42:17 -0500")
Mark H Weaver <mhw@netris.org> 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
next prev parent reply other threads:[~2018-12-17 18:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-16 4:31 Unicode numeric value Freeman Gilmore
2018-12-16 6:11 ` John Cowan
2018-12-16 8:14 ` Mark H Weaver
2018-12-16 11:24 ` Freeman Gilmore
2018-12-17 18:42 ` Mark H Weaver
2018-12-17 18:52 ` Mark H Weaver [this message]
2019-01-05 1:07 ` Freeman Gilmore
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877eg8x9xc.fsf@netris.org \
--to=mhw@netris.org \
--cc=freeman.gilmore@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).