title: Ambiguous use of operator '-' in Swift with 'abs()'
body: <p>I'm trying to do the following:</p>
  
  <pre><code>var i = -(abs(-3))
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var i = -abs(-3)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var i = -abs(3)
  </code></pre>
  
  <p>or</p>
  
  <pre><code>var i = -(abs(3))
  </code></pre>
  
  <p>But I get an error saying that use of minus is ambiguous. Why?</p>