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

Prev:lnth ( n list -- elt )
Next:llength ( list -- n )


Vocabulary
lists

Inputs
lista list


Outputs
eltan object


Word description
Returns the second element of the list, ie the car of the cdr.

Definition

: cadr ( list -- elt ) cdr car ; inline