; Examples of apply... ; #'X is short for (function X) ; Experiment by typing in commands like (ex1), (ex2), ... (define (ex1) (apply #'+ '( 1 2 3 ))) (define (ex2) (apply #'cons '( 1 2 3 ))) (define (ex3) (apply #'cons '( 1 2 ))) (define (ex4) (apply #'(lambda (x) (* x x)) '( 1 2 ))) (define (ex5) (apply #'(lambda (x) (* x x)) '( 2 )))