title: Binding multiple related variables in Clojure without nested let
body: <p>I want to use the value of a variable to compute the value of another variable in the same let statement. Is there a way to do this in Clojure without using nested lets?</p>
  
  <p>Nested let solution:</p>
  
  <pre><code>(let [x 3] 
    (let [y (+ 1 x)] 
      y)) = 4
  </code></pre>
  
  <p>Desired solution:</p>
  
  <pre><code>(let [x 3 
        y (+ 1 x)] 
     y) = 4
  </code></pre>