This commit is contained in:
VaclavT 2021-04-09 00:13:41 +02:00
parent 9ab0a2c98d
commit 8a6457d6fc
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@
(defun third (l) (index l 2)) (defun third (l) (index l 2))
(defun fourth (l) (index l 3)) (defun fourth (l) (index l 3))
(defun fifth (l) (index l 4)) (defun fifth (l) (index l 4))
(defun nth (i l) (index l i)) (defun nth (i l) (index l (- i 1))
; return 1 when list contains item otherwise 0 ; return 1 when list contains item otherwise 0
(defun member (lst itm) (defun member (lst itm)