Hi all, 

In tinyscheme I can do this:

> (+ (string->symbol "1.2") 1)
2.2

In racket that does not work, because 

> (string->symbol "1.2") 
'|1.2|

which is not a number. I can use this workaround:

> (+ (read (open-input-string "1.2")) 1)
2.2

But is there a clean way to get the above line from tinyscheme working on 
racket without that workaround? 

Nik

____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to