This site is a static rendering of the Trac instance that was used by R7RS-WG1 for its work on R7RS-small (PDF), which was ratified in 2013. For more information, see Home. For a version of this page that may be more recent, see PrefixedStringToNumber in WG2's repo for R7RS-large.

Prefixed­String­To­Number

cowan
2012-05-17 03:42:33
1history
source

I tested (string->number "#x10") against my usual test suite.

Racket, Gauche, MIT, Gambit, Chicken (with or without the numbers egg), Scheme48/scsh, Guile, SISC, Chibi, Chez, SCM, Ikarus/Vicare, Larceny, Ypsilon, Mosh, IronScheme, NexJ, STklos, TinyScheme, Scheme 7, Rep, Elk, UMB, SXI, Sizzle, Spark, Inlab, Owl Lisp all return 16.

Bigloo, Kawa, KSi, SigScheme, Dream, BDC, XLisp, Schemik, VX return #f.

Shoe, Oaklisp, MScheme, Bus don't support string->number.