list-ref

(list-ref lst k)


Description:

Returns the kth element of list


Arguments:

              k -- index into list

            lst -- a scheme list


Returns: object


Examples:

(list-ref '(a b c d) 2) => c



Back to index