title: Unspecified value parameter rconv
body: <p>I had these lines in my code</p>
  
  <pre><code>val x = database.withSession { implicit session =&gt; 
    StaticQuery.queryNA[Long](s"select id from .....")
  }
  
  val y = database.withSession { implicit session =&gt; 
    StaticQuery.queryNA[Long](s"select id1 from .....")
  }
  
  val z = database.withSession { implicit session =&gt; 
    StaticQuery.queryNA[(Long, Long)](s"select id1, id2 from .....")
  }
  </code></pre>
  
  <p>In order to minimize code duplication I changed my code to </p>
  
  <pre><code>def genericExec[T](query: String) : List[T] = {
    database.withSession { implicit session =&gt; 
      StaticQuery.queryNA[T](query).list
    }
  }
  
  for {
    x &lt;- genericExec[Long](query1)
    y &lt;- genericExec[Long](query2)
    z &lt;- genericExec[(Long, Long)](query3)
  } {...}
  </code></pre>
  
  <p>Of course I get an error now that</p>
  
  <pre><code>Error:(16, 32) not enough arguments for method queryNA: (implicit rconv: scala.slick.jdbc.GetResult[T])scala.slick.jdbc.StaticQuery[Unit,T].
  Unspecified value parameter rconv.
           StaticQuery.queryNA[T](query).list
  </code></pre>
  
  <p>Since the type T is totally generic its impossible for me to provide all types of conversions. So how can I keep my generic implementation and just provide the conversions which my type T is actually using in my code (aka Long, and (Long, Long)</p>