<div dir="ltr">Since ' expands to quote, '#(1 xyz) is really just shorthand for (quote (1 xyz)). Note that quote recursively quotes its arguments; for the same reason that '(a b) is a list that contains the *symbols* 'a and 'b, '#(1 xyz) is a vector that contains 1 and the symbol 'xyz.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 13, 2014 at 11:53 AM, Christian Wagenknecht <span dir="ltr"><<a href="mailto:c.wagenknecht@hszg.de" target="_blank">c.wagenknecht@hszg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">With regard of Racket's symbols I have a problem with the consistency of the terminology as follows.<br>
A symbol in Scheme and maybe in earlier Racket versions is considered as an identifier. For example xyz is a symbol, whereas 'xyz avoids the evaluation of xyz.<br>
<br>
In current version the little ' (normally as shorthand for quote) belongs to the symbol. For example 'xyz is a symbol. A symbol is obviously considered as a quoted identifier, at least syntactically.<br>
<br>
However, when using a symbol as part of an expression the prepending ' disappears. For example: (vector 1 'xyz), consisting of a number and a symbol evaluates to '#(1 xyz). But xyz is not a symbol but an identifier. Therefore to say that this vector belongs of a number and a symbol is no longer valid. (vector-ref '#(1 xyz) 1) returns 'xyz, which is correct, however, this is also visually a difference where there is none.<br>
<br>
Could you help me to get it right, please?<br>
<br>
<br>____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
<br></blockquote></div><br></div>