title: Scala: Pattern matching Seq[Nothing]
body: <p>I am trying to match the case where a <code>Seq</code> contains <code>Nothing</code>.</p>
  
  <pre><code>models.Tasks.myTasks(idUser.toInt) match {
    case tasks =&gt; tasks.map {
      task =&gt; /* code here */
    }
    case _ =&gt; "" //matches Seq(models.Tasks)
  }
  </code></pre>
  
  <p>How is <code>Seq[Nothing]</code> represented in pattern matching ?</p>