Re-add erroneously removed function

This commit is contained in:
Jaidyn Ann 2024-05-27 23:33:44 -05:00
parent 58aedf06c0
commit fe50e2bcf8

View File

@ -283,6 +283,10 @@
;; list → list
(defun de-tail (list)
"Remove the last element from a list."
"Return a list sans its last element."
(reverse (cdr (reverse list))))
;; list → object
(defun tail (list)
"Return the last element of a list."
(car (last list)))