(defun lshift (l) (append (cdr l) (list (car l))))
(defun rshift (l) (cond ((null l) nil) ((null (cdr l)) l) (t ((lambda (r) (cons (car r) (cons (car l) (cdr r)))) (rshift (cdr l))) ) ) )
No comments:
Post a Comment