Y
Hacker News
new
|
ask
|
show
|
jobs
by
shakna
126 days ago
A distinct and immutable pair is... A pair.
(eq? (pair? '(A . B)) #t) (eq? (pair? (list 1 2 3)) #f)
But agree you probably want list-ref instead of cddr and friends.