chickadee » srfi-127 » lseq-ref

lseq-ref lseq iprocedure

Returns the ith element of lseq. (This is the same as (lseq-first (lseq-drop lseq i))). It is an error if i >= n, where n is the length of lseq.

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