fix nth
This commit is contained in:
parent
9ab0a2c98d
commit
8a6457d6fc
|
|
@ -46,7 +46,7 @@
|
|||
(defun third (l) (index l 2))
|
||||
(defun fourth (l) (index l 3))
|
||||
(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
|
||||
(defun member (lst itm)
|
||||
|
|
|
|||
Loading…
Reference in New Issue