title: Pattern matching during pipe
body: <p>I've to parse an xml document, extracting an integer from an xml node.</p>
  
  <p>Currently I have:</p>
  
  <pre><code>try do
    Floki.find(node, "stat[type='jersey_num']")
      |&gt; Floki.text
      |&gt; Integer.parse
      |&gt; elem(0)
  rescue
    e -&gt; nil
  end
  </code></pre>
  
  <p>which works fine but I don't like having to rescue everything, I would like to do something like:</p>
  
  <pre><code>Floki.find(node, "stat[type='jersey_num']")
    |&gt; Floki.text
    |&gt; case Integer.parse do
      { int, _binary } -&gt; int
      _                -&gt; nil
    end
  </code></pre>
  
  <p>but I get <code>unhandled operator -&gt;</code> in the fourth line, is there a way to do this?</p>