lnth ( n list -- elt )
Factor handbook » The language » Collections » Lists » Manipulating lists

Prev:unswons ( cons -- cdr car )
Next:cadr ( list -- elt )


Vocabulary
lists

Inputs
nan integer index
lista list


Outputs
eltthe element at the nth index


Word description
Outputs the nth element of the list.

See also
llength, cons, car, cdr

Definition