title: Pattern matching multiple variables
body: <p>I'm new to F# and haven't seen anywhere how to do the following correctly</p>
  
  <pre><code>let fun1 a b =
  match a b with
  | a + b &gt; 0 -&gt; fun2
  | a + b &lt; 0 -&gt; fun3
  </code></pre>
  
  <p>I have to do this with pattern matching—for homework—but I don't know how to do it correctly. I thought I could be use tuples as follows:</p>
  
  <pre><code>let fun1 (a,b) =
  match (a,b) with
  | (a,b) when a + b &gt; 0 -&gt; fun2
  | (a,b) when a + b &lt; 0 -&gt; fun3
  </code></pre>
  
  <p>But that doesn't work too. How do I proceed?</p>