title: Ordering of nested let and lambda in Scheme
body: <p>What is the difference between two functions in Scheme, one defined like this&mdash;</p>
  
  <pre><code>(define doSomething
      (lambda (x)
            (let (f (100))
                 (f x))))
  </code></pre>
  
  <p>and the other like this?&mdash;</p>
  
  <pre><code>(define doSomething
            (let (f (100))
              (lambda (x) 
                 (f x)))) 
  </code></pre>
  
  <p>In other words, what does it matter if the <code>lambda</code> is before the <code>let</code> or after it?</p>