title: Passing list elements as parameters to curried function
body: <p>Still a Haskell newbie here.  I know just enough to get myself into trouble with wrong assumptions.  If I have the following function...</p>
  
  <pre><code>quadsum w x y z = w+x+y+z
  </code></pre>
  
  <p>I want a function that can take a list, use each element as a parameter in a specified function like <code>quadsum</code>, and return a curried function for later use.</p>
  
  <p>I've been trying something to the effect of...</p>
  
  <pre><code>magicalFunctionMaker f [] = (f)
  magicalFunctionMaker f (x:xs) = magicalFunctionMaker (f x) xs
  </code></pre>
  
  <p>With the hope of being able to do this...</p>
  
  <pre><code>magicalFunctionMaker (quadsum) [4,3,2]
  </code></pre>
  
  <p>Getting a curried function like...:</p>
  
  <pre><code>(((quadsum 4) 3) 2)
  </code></pre>
  
  <p>Or, alternatively, call:</p>
  
  <pre><code>magicalFunctionMaker (quadsum) [4,3,2,1]
  </code></pre>
  
  <p>Resulting in...</p>
  
  <pre><code>((((quadsum 4) 3) 2) 1)
  </code></pre>
  
  <p>Is this possible?  How misguided am I?  </p>