Next: Eval Library, Previous: Complex Library, Up: Standard Libraries [Index]
The (scheme cxr)
library exports twenty-four procedures which
are the compositions of from three to four car
and cdr
operations. For example caddar
could be defined by
(define caddar (lambda (x) (car (cdr (cdr (car x)))))).
The procedures car
and cdr
themselves and the four
two-level compositions are included in the base library.
See Pairs and lists.
caaaar
caaadr
caaar
caadar
caaddr
caadr
cadaar
cadadr
cadar
caddar
cadddr
caddr
cdaaar
cdaadr
cdaar
cdadar
cdaddr
cdadr
cddaar
cddadr
cddar
cdddar
cddddr
cdddr