I have issue with representing box structure via LISP's dotted pairs.
CL-USER 21 > (cons 1 (cons (cons 3 4) (cons (cons 3 4) 2)))
(1 (3 . 4) (3 . 4) . 2)
This is what i have, this is the output, but that's clearly incorrect, because the 3.4 pair is there twice, can someone help me correct this please? It has to be represented with cons(dotted pairs).
ive tried to represent it many different ways, but i cant find the solution for this.