[racket] Question about string->symbol

From: Brian Moriarty (prof at ludix.com)
Date: Thu Mar 10 18:28:40 EST 2011

Hello! I'm new to Scheme/Racket, and have a quick question.
 
Is there any way to assign an arbitrary value to a symbol created with
string->symbol?
 
I want to do the equivalent of  (set! (string-symbol "number3") 3).
 
That is, I want the symbol number3 to evaluate to 3.
 
Thanks in advance for advice!
 
- prof
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110310/cf32e7ce/attachment.html>

Posted on the users mailing list.