Hi Raghu, Assuming that 'a' is the original list of four sub-lists you can return the 'odd' or 'even' elements like this: idx=0 setof(item a idx++ && oddp(idx) && a) => ((1 2) (1 3) ) idx=0 setof(item a idx++ && evenp(idx) && a) => ((2 1) (3 1) ) Best regards, Lawrence.
↧