Search found 1 match

by gardos
Wed Jun 22, 2011 8:56 am
Forum: Common Lisp
Topic: Pairing list elementes
Replies: 6
Views: 8159

Pairing list elementes

Hi, because of my ignorance im stuck whit this problem. I have a list, example: (1024 -42 42 123 0 6 -1 0 0 -2) but i need it to look like this: (1024 . -42) (42 . 123) (0 . 6) (-1 . 0) (0 . -2) I have already made this function(i need it like this): (defun make-point (x y) (cons x y)) The problem i...