title: Can you overload + in haskell?
body: <p>While I've seen all kinds of weird things in Haskell sample code  - I've never seen an operator plus being overloaded. Is there something special about it?</p>
  
  <p>Let's say I have a type like <em>Pair</em>, and I want to have something like </p>
  
  <pre><code> Pair(2,4) + Pair(1,2) = Pair(3,6)
  </code></pre>
  
  <p>Can one do it in haskell?</p>
  
  <p>I am just curious, as I know it's possible in Scala in a rather elegant way.</p>