Stop show with sound -- Keyboard shortcut: 'x'  Next slide in show -- Keyboard shortcut: 'n'  1 minute, 5 secondsExpressions, Types, and Functions - slide 38 : 46

Anonymous functions

A function object does not have a name, and a function object is not necessarily bound to a name

1> ((lambda(x) (+ x 1)) 3)
4

2> (define fu-lst 
  (list (lambda (x) (+ x 1)) (lambda (x) (* x 5))))

3> fu-lst
(#<procedure> #<procedure>)

4> ((second fu-lst) 6)
30