Re-add erroneously removed function
This commit is contained in:
parent
58aedf06c0
commit
fe50e2bcf8
|
@ -283,6 +283,10 @@
|
||||||
|
|
||||||
;; list → list
|
;; list → list
|
||||||
(defun de-tail (list)
|
(defun de-tail (list)
|
||||||
"Remove the last element from a list."
|
"Return a list sans its last element."
|
||||||
(reverse (cdr (reverse list))))
|
(reverse (cdr (reverse list))))
|
||||||
|
|
||||||
|
;; list → object
|
||||||
|
(defun tail (list)
|
||||||
|
"Return the last element of a list."
|
||||||
|
(car (last list)))
|
||||||
|
|
Ŝarĝante…
Reference in New Issue