title: Haskell dot operator
body: <p>I try to develop a simple average function in Haskell.
  This seems to work:</p>
  
  <pre><code>lst = [1, 3]
  
  x = fromIntegral (sum lst)
  y = fromIntegral(length lst)
  
  z = x / y
  </code></pre>
  
  <p>But why doesn't the following version work?</p>
  
  <pre><code>lst = [1, 3]
  
  x = fromIntegral.sum lst
  y = fromIntegral.length lst
  
  z = x / y
  </code></pre>