Skip to content

cdr

Type ​

meta-lisp
(all (E) (-> (list-t E) (list-t E)))

Description ​

Rest of the list after removing the first element.

Examples ​

meta-lisp
(cdr (@list 1 2 3))   ;; => (@list 2 3)
(cdr (@list 1))       ;; => (@list)