January 2020
Intermediate to advanced
532 pages
13h 31m
English
Symbols are quite special when they appear in expressions. They may appear in the head node of an expression object—for example, the = symbol in a variable assignment expression. They may also appear in the arguments of an expression object, in which case they would represent a variable:

Since symbols are already used to represent variables, how would we assign an actual symbol to a variable? To figure out how this works, we can use the same trick that we have learned so far—using the dump function to examine the expression object for such a statement:
As we can see, an actual symbol must be enclosed in a QuoteNode ...
Read now
Unlock full access