Re: newbie question



On 31 Dec 2005 12:04:23 -0800, "dvlfrnd" <iresjen@xxxxxxxxx> wrote:

>say there's a list of even length
>(a b c d e f ......)
>
>how do i turn this into
>((a b) (c d) (e f)....)

(loop for x on list by 'cddr collect (list (first x) (second x)))
.