Procedures as Arguments
A procedure can be passed as an argument and applied to other arguments.
; Example
> car
#<primitive:CAR>
> (define first car)
> (let ((list-accessors (list car cdr)))
> ((first list-accessors) '(a b c)) )
a
Previous slide
Next slide
Back to first slide
View graphic version