I'm trying to create a special folding function.
I have a problem regarding quotes, Especially them nested ones. It seems like they are sometimes interpeted as the start of a list, And sometimes as a quote.
Say i've got the next code:
'(x '(a b c))
Then:
(car '(x '(a b c)))
Will return: x. While:
(cadr '(x '(a b c)))
Will return: '(a b c). What does this mean? Is this a list? if so why does:
(caadr '(x '(a b c)))
Returns: quote. What is the meanning of this quote? Is there any way to indentify those kind of lists? And if so, Is there any way to unquote them?