I wanted to use intersection
to see the intersection of two lists.
While
(intersection (list 1 1) (list 1 1))
works perfectly fine and returns (1 1)
,
(intersection (list (list 1 2) (list 1 4)) (list (list 1 2) (list 1 5)))
doesnt return me (1 2) but NIL.
Where is my mistake?