chickadee » srfi-116 » ilist-ref

ilist-ref ilist iprocedure

Returns the ith element of ilist. (This is the same as the icar of (idrop ilist i).) It is an error if i >= n, where n is the length of ilist.

(ilist-ref (iq a b c d) 2) ;=> c