I have this expression ,
(write (cdr (car' ('(p q) r))))
which gives ((P Q))
as the output . I've been scratching my head all day and am still unable to figure out how this works .
Doing just the car
part gives,
(write (car' ('(p q) r)))
gives '(P Q)
.
Then , according to me (cdr '(P Q))
should give (Q)
as the output .
How is the final answer , '(P Q)
is my question .