Post Scarcity
A prototype for a post scarcity programming environment
Loading...
Searching...
No Matches
nth.lisp
Go to the documentation of this file.
1(set! nth (lambda (n l)
2 "Return the `n`th member of this list `l`, or `nil` if none."
3 (cond ((= nil l) nil)
4 ((= n 1) (car l))
5 (t (nth (- n 1) (cdr l))))))
6