Module (scheme cxr)
[procedure] (caaar x)[procedure] (caadr x)
[procedure] (cadar x)
[procedure] (cdaar x)
[procedure] (cdadr x)
[procedure] (cddar x)
[procedure] (cdddr x)
[procedure] (caaaar x)
[procedure] (caaadr x)
[procedure] (caadar x)
[procedure] (caaddr x)
[procedure] (cadaar x)
[procedure] (cadadr x)
[procedure] (caddar x)
[procedure] (cadddr x)
[procedure] (cdaaar x)
[procedure] (cdaadr x)
[procedure] (cdadar x)
[procedure] (cdaddr x)
[procedure] (cddaar x)
[procedure] (cddadr x)
[procedure] (cdddar x)
[procedure] (cddddr x)
These twenty-four procedures are further compositions of car and cdr on the same principles. For example, caddr could be defined by
(define caddr (lambda (x) (car (cdr (cdr x)))))
Arbitrary compositions up to four deep are provided.
Previous: Module (scheme complex)
Next: Module (scheme file)