title: Scheme define/lambda shorthand
body: <p>In Scheme, how can I make use of the define/lambda shorthand for nested lambda expressions within my define?</p>
  
  <p>For example given the following procedure...</p>
  
  <pre><code>(define add
    (lambda (num1 num2)
      (+ num1 num2)))
  </code></pre>
  
  <p>One can shorten it to this:</p>
  
  <pre><code>(define (add num1 num2)
    (+ num1 num2))
  </code></pre>
  
  <p><br>
  However, how can I shorten the following function similarly ?</p>
  
  <pre><code>(define makeOperator
    (lambda (operator)
      (lambda (num1 num2)
        (operator num1 num2))))
  
  ;example useage - equivalent to (* 3 4):
  ((makeOperator *) 3 4)
  </code></pre>