title: How to match option map values at once?
body: <p>is it possible to match <code>Option[Map[String,String]]</code> for some key at once (e.g. without nested matches)?</p>
  
  <p>The following snippet is how it is now:</p>
  
  <pre><code>val myOption:Option[Map[String,String]] = ...
  myOption match {
    case Some(params) =&gt;
      params get(key) match {
        case Some(value) =&gt; Ok(value)
        case None =&gt; BadRequest
    case None =&gt; BadRequest     
  }
  </code></pre>