title: How convert from Option[Seq[A]] to List[A] in Scala
body: <p>I have this class:</p>
  
  <pre><code>case class MyClass(field1: Option[Seq[String]],
                     field2: Option[Seq[String]],
                     field3: Option[Seq[String]])
  </code></pre>
  
  <p>and I need to translate/parse those fields into another structure of type <code>List[String]</code> .</p>
  
  <p>Already tried with <code>map.(x =&gt; x.toString())</code> and <code>flatten</code>, but no donuts so far.</p>
  
  <p>This snippet:</p>
  
  <p><code>Option[Seq[String]].toList.flatten.distinct</code> gives me <code>List[Any]</code>. </p>