title: Debugging F# code and functional style
body: <p>I'm new to funcctional programming and have some questions regarding coding style and debugging.</p>
  
  <p>I'm under the impression that one should avoid storing results from funcction calls in a temp variable and then return that variable</p>
  
  <p>e.g.</p>
  
  <pre><code>let someFunc foo =
      let result = match foo with
                   | x -&gt; ...
                   | y -&gt; ...
      result 
  </code></pre>
  
  <p>And instead do it like this (I might be way off?):</p>
  
  <pre><code>let someFunc foo =
      match foo with
      | x -&gt; ...
      | y -&gt; ...
  </code></pre>
  
  <p>Which works fine from a functionallity perspective, but it makes it way harder to debug.
  I have no way to examine the result if the right hand side of -> does some funky stuff.</p>
  
  <p>So how should I deal with this kind of scenarios?</p>