[plt-scheme] String->symbol question.

From: Vladimir BODNARTCHOUK (vladimir9 at wanadoo.fr)
Date: Mon Mar 21 19:20:55 EST 2005

Hello

Is there an easy way to force this string "[#0000ff]" to be a symbol ?

Because (string->symbol "[#0000ff]") gives |[#0000ff]| and '#\[#\##\0#\0#\0#\0#\f#\f#\] ...  not really what i need.

I need this to generate the scheme source code with some tags, for example :
(define x 1) -> ([#0000ff]define[/#0000ff] x 1)
to avoid tagging my source manually as you can see...

Thanks.



Posted on the users mailing list.