title: function overloading in swift
body: <p>I am trying to create two methods with the following arguments but the compiler is complaining that they are ambiguous. I am following a youtube series to learn Swift and it seems to be fine in the video there. What am I missing?</p>
  
  <p><code>func performOperation(operation: Double -&gt; Double){</code></p>
  
  <p><code>func performOperation(operation:(Double, Double)-&gt;Double){</code></p>