Freeman Gilmore <freeman.gilm...@gmail.com> writes:

> I am looking for a procedure that will read the numeric value, field 8, of
> an Unicode numeric character.   Has anyone written this procedure or know
> where I can find it?

The 'r7rs-wip' branch of the Guile git repository contains a procedure
that does this, with a lookup table derived from Unicode 6.3.0.

  
https://git.savannah.gnu.org/cgit/guile.git/tree/module/scheme/char.scm?h=r7rs-wip

The file is written as an R7RS library form, which won't work on current
releases of Guile, but for now you could simply extract the
'digit-value' procedure from it, provided that you preserve the
copyright notice.

      Mark

Reply via email to