[plt-scheme] (string->symbol string) not working with MrEd

From: Kim Gybels (kgybels at vub.ac.be)
Date: Sun Jun 5 23:49:01 EDT 2005

> And that is the first time I see this. Is that a symbol? yes it is:
> > (symbol? (string->symbol (send tipo_lados get-string-selection)))
> #t
Symbols are normally all lowercase, if you make a symbol with an
uppercase letter you will see the bars (the | thingies.

(string->symbol "Uppercase") gives |Uppercase|

The reader normally converts everything to lowercase, but you can
force it to behave case sensitive with #cs

will also give |Uppercase| as a symbol.

I hope this helps a bit, I also dont know why "hospital" gets the bars
when it comes from you choices objects. Maybe the string is special in
some way other than
containing uppercase letters that it triggers a casesensitive symbol.

Posted on the users mailing list.