Chapter 2, Building Abstractions with Data
Section - 2.3 Symbolic Data
Exercise 2.55
1
2
3
> (car ''abracadabra)
'quote
>
As mentioned in the book 'a
is equivalent to (quote a)
.
Thus ''abracadabra
is equivalent to (quote (quote abracadabra))
. That means (quote abracadabra)
is considered as a list of symbols 'quote
and 'abracadabra
.
Thus car (quote (quote abracadabra))
returns 'quote
.