On 9 Jan 2011, at 03:25, Andy Wingo wrote:
Let's say you have an association list. It could be (("foo" .
"bar")) or
((foo . "bar")) or ((foo bar)), or even (("foo" . bar)). If you're
parsing this data from over the network, in textual form, which do you
use?
The answer is this:
* Use symb
() Andy Wingo
() Sat, 08 Jan 2011 18:25:32 -0800
* Use symbols when you want to match against
a symbol literal in your source code.
* Use strings otherwise.
Symbols are preferable whenever ‘eq?’ is important
(for whatever reason, depending on program design).
Many times that in
Hey all,
I have been going over the new web interface in Guile 2.0, making sure
that it's OK for long-term use, and got myself into a quandary about
when to use strings and when to use symbols in an interface. I don't
pretend to have the right answer here, but this is the answer that I
have come