[plt-scheme] immutable strings vs. uninterned symbols
> (string-append "hello" " world")
"hello world"
>
You can't do this with a symbol. -- Matthias
On Jun 6, 2006, at 8:52 AM, Doug Orleans wrote:
> What's the difference between immutable strings and uninterned
> symbols? I mean, I realize they're different types, but they're both
> strings that can't be changed and are only eq? to themselves. Is
> there any reason to prefer one over the other? Which one is more like
> java.lang.String?
>
> --dougorleans at gmail.com
> _________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme