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


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.

(define cdr 
   (lambda (l)
      (l false)))



Georg P. Loczewski 2004-03-05


Impressum und Datenschutz