title: Haskell data type function parameter
body: <p>What is the significance of the parenthesis in a function definition in Haskell with respect to the data type of parameters.</p>
  
  <p>For example:</p>
  
  <pre><code>doStuff Name -&gt; Age -&gt; String
  doStuff (NameConstr a) (AgeConstr b) = "Nom: " ++ a ++ ", age: " ++ b
  </code></pre>
  
  <p>with the following defined somewhere beforehand:</p>
  
  <pre><code>data Name = NameConstr String
  data Age = AgeConstr Integer
  </code></pre>
  
  <p>Could the function parameters a and b be captured in a way that negates the need for parenthesis here?</p>
  
  <p>FYI, I'm working through:</p>
  
  <ul>
  <li><a href="http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/#type-construction" rel="nofollow">http://yannesposito.com/Scratch/en/blog/Haskell-the-Hard-Way/#type-construction</a></li>
  <li><a href="http://learnyouahaskell.com/types-and-typeclasses" rel="nofollow">http://learnyouahaskell.com/types-and-typeclasses</a> ,</li>
  </ul>
  
  <p>and I just can't seem grasp this finer detail yet.</p>