Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

C-style Accessors

LFE provides the traditional Lisp c*r family of list accessors:

(caar x)   ; (car (car x))
(cadr x)   ; (car (cdr x))
(cdar x)   ; (cdr (car x))
(cddr x)   ; (cdr (cdr x))
(caaar x)  ; (car (car (car x)))
...
; Up to 4 levels: caaaaar, etc.