?cons (?list(?mlist),?subseq([a,b,c,d,e,f],3,6)); Maybe does what you want. But writing in lisp, assuming r is a maxima list, a b are appropriate positive integers 0<=a<=b<= length of r.. (defun $my_sublist(r a b) (cons (car r)(subseq (cdr r) a) b)))