SketchyLISP Reference |
Copyright (C) 2006 Nils M Holm |
<<[caaar] | [Index] | [char-alphabetic?]>> |
Conformance: R5RS
Purpose: Access elements of nested lists.
Arguments:
X - list
Implementation:
(define (caar x) (car (car x))) (define (cadr x) (car (cdr x))) (define (cdar x) (cdr (car x))) (define (cddr x) (cdr (cdr x)))
Example:
(cadr '(a b c d e f g h)) => b
<<[caaar] | [Index] | [char-alphabetic?]>> |