title: Function not being evaluated in let block
body: <p>I've written a little recursive function, however, if i include the recursive bit in the let block it throws an unsuported binding error. </p>
  
  <p>The code: </p>
  
  <pre><code>(defn total-weight [parcel cost]
   "Calculate the total route cost"
    (if (not(empty? parcel))
       (let [ first-parcel (first parcel)
          weight (:weight first-parcel)
          parcel-two (rest parcel)
         (total-weight parcel-two (+ cost weight))
        cost])))
  
  
  (total-weight task5 0)
  </code></pre>
  
  <p>The error: </p>
  
  <pre><code>CompilerException java.lang.Exception: Unsupported binding form: (total-weight parcel-two (+ cost weight)), compiling:(/private/var/folders/2h/7b4v1ls11mjf_n5hb6mwngl40000gn/T/form-init2186446380943426996.clj:4:6) 
  </code></pre>
  
  <p>Any ideas?</p>