[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compute ISBN-10, char-to-int?
From: |
Stefan Monnier |
Subject: |
Re: compute ISBN-10, char-to-int? |
Date: |
Sat, 07 Sep 2019 15:01:40 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> I must admit that it seems highly unlikely it will change in the
>> foreseeable future, but it's always a possibility
> More than highly unlikely, I'd say.
Agreed. But even for those paranoid enough to worry about that,
(+ n ?0) and (- c ?0) should be safe ways to convert between a digit
character and its numerical value.
Stefan
- Re: compute ISBN-10, char-to-int?, (continued)
- Re: compute ISBN-10, char-to-int?, tomas, 2019/09/05
- Re: compute ISBN-10, char-to-int?, Emanuel Berg, 2019/09/05
- Re: compute ISBN-10, char-to-int?, Eli Zaretskii, 2019/09/06
- Re: compute ISBN-10, char-to-int?, tomas, 2019/09/06
- Re: compute ISBN-10, char-to-int?, Emanuel Berg, 2019/09/06
- Re: compute ISBN-10, char-to-int?, Eli Zaretskii, 2019/09/06
- Re: compute ISBN-10, char-to-int?, Stefan Monnier, 2019/09/07
- Re: compute ISBN-10, char-to-int?, Eli Zaretskii, 2019/09/07
- Re: compute ISBN-10, char-to-int?, Stefan Monnier, 2019/09/07
- Re: compute ISBN-10, char-to-int?, Eli Zaretskii, 2019/09/07
- Re: compute ISBN-10, char-to-int?,
Stefan Monnier <=
- Re: compute ISBN-10, char-to-int?, Emanuel Berg, 2019/09/09
- Re: compute ISBN-10, char-to-int?, Perry Smith, 2019/09/09