scheme:cxr
-- r7rs
Export (scheme cxr)
caaar
;caadr
;cadar
;caddr
;cdaar
;cdadr
;cddar
;cdddr
;caaaar
;caaadr
;caadar
;caaddr
;cadaar
;cadadr
;caddar
;cadddr
;cdaaar
;cdaadr
;cdadar
;cdaddr
;cddaar
;cddadr
;cdddar
;cddddr
;CxR Library
The
(scheme cxr)
library exports twenty-four procedures which are the compositions of from three to fourcar
andcdr
operations. For examplecaddar
could be defined by(define caddar (lambda (x) (car (cdr (cdr (car x))))))
The procedures
car
andcdr
themselves and the four two-level compositions are included in the base library. See section on 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
The text herein was sourced and adapted as described in the "R7RS attribution of various text snippets" appendix.