I tried to use this code, but it returns (k k k k k)
(mapcar (lambda (x) 'cons x '(k))
'(a b c d e))
What am i doing wrong here? Why doesn't cons work?
I tried to use this code, but it returns (k k k k k)
(mapcar (lambda (x) 'cons x '(k))
'(a b c d e))
What am i doing wrong here? Why doesn't cons work?