title: Lambda in Racket Explained
body: <p>I am trying to understand lambda use in racket and I am still unclear.  I get that they are unnamed (anonymous) functions but why is that good? I need to access my functions from other functions so how would I call them??? Please explain the small program below and why using lambda is better?  Thank you.</p>
  
  <pre><code>; why is this better than below???
  (define test
    (lambda (x)
      (lambda (y)
        (+ x y))))
  
  (define add27
    (test 27))
  
  ; what's wrong with this???
  (define (addTest x)
    (+ x 27))
  
  &gt; (add27 2)
  29
  &gt; (addTest 2)
  29
  </code></pre>