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.

Source for wiki PrefixedStringToNumber version 2

author

arcfide

comment

Update for Scheme 9

ipnr

98.223.202.3

name

PrefixedStringToNumber

readonly

0

text

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, Scheme 9 all return 16.

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

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

time

2012-10-05 01:07:48

version

2