next up previous contents index
Next: Application of abstractions for Up: Basic abstractions for pairs Previous: Selector `car'   Contents   Index


Selector `cdr'

The function `cdr' works like `car' with one exception: it uses the abstraction `false' to return the second argument being the tail of the pair.
\begin{lstlisting}[language=Scm]{}
(define cdr (lambda (l)
(l false)))
\end{lstlisting}



domain access counter Georg P. Loczewski 2004-03-05