nth

(nth n list)

The function nth returns the nth element of list. Note that n counting starts with 0.

Examples

: (nth 1 '(0 1 2 3))

1

: (nth 2 '(a b c))

C

: (nth 5 '(a b c))

nil