title: Haskell create list with map and apply division
body: <p>I'm supposed to use the <strong>map</strong> function to create a list and <strong>divide it by 2</strong> to calculate the average, but I'm stuck at the division part.</p>
  
  <pre><code>mittelWert (n,m) = map (+n) [m]
  </code></pre>
  
  <p>This gives me my list, but i cant divide it by 2 now...</p>
  
  <p>I tried this:</p>
  
  <pre><code>mittelWert (n,m) = map (+n) [m] / 2
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code>mittelWert (n,m) = map (+n) [m] `div` 2
  </code></pre>
  
  <p>ty.</p>
  
  <p>error: <code>* Non type-variable argument in the constraint: Fractional [b]
        (Use FlexibleContexts to permit this)
      * When checking the inferred type</code></p>