Or create it yourself:
(define my-list-ref (lambda (lst place) (if (= place 0) (car lst) (my-list-ref (cdr lst) (- place 1)))))
but if you want to check if the list is complete and not worried by mistake, you can also do this:
(define my-list-ref (lambda (lst place) (if (null? lst) '() (if (= place 0) (car lst) (my-list-ref (cdr lst) (- place 1))))))
Gil matzov
source share