Simple List Operations
(first '(a b c)) --> A
(first nil) --> nil
(rest '(a b c)) --> (B C)
(rest nil) --> nil
(second '(a b c)) --> B
equivalent to (first (rest '(a b c)))
(third '(a b c)) --> C
(second nil) --> nil
(third nil) --> nil
Previous slide
Next slide
Back to first slide
View graphic version