title: How to pass type argument to method
body: <p>I defined a type something like this:</p>
  
  <pre><code>type Similarity = (String, Int) =&gt; Boolean
  </code></pre>
  
  <p>Now I created a function that expects this type as an argument to method like this:</p>
  
  <pre><code>def calculate(param: Similarity) = {
      println("hi")
    }
  </code></pre>
  
  <p>My question is how can I pass arguments to calculate function? for instance if I want to pass a string and a number?</p>