I’m using R5RS standart of Scheme language.
Please have a look at these two objects:
(1 (2 . 3))(1 2 . 3)
Do they have the same memory representations? Like this (A):

Or the first one is different? Like this (B):
So… What is correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
They’re different. The first list is constructed like this, corresponding to the “B” figure:
Whereas the second list structure is constructed like this, which corresponds to the “A” figure:
Also notice that the second one is not a proper list (meaning: a list that ends with
null).