next up previous contents index
Next: Checking for an empty Up: Basic utility abstractions for Previous: Basic utility abstractions for   Contents   Index

Abstraction for the end of a list: `nil'

This abstraction has already been introduced above. It appears again here to show its usage when building a list. repe
(define nil (lambda (f)

(define l1 (cons two (cons three nil)))
(ldisp! l1)
--> 2
(lambda(l) true)

Georg P. Loczewski 2004-03-05

Impressum und Datenschutz