title: Create a Vector[Vector[Char]] from a file
body: <p>I'm a newbie, trying to read a file and create a Vector[Vector[Char]].  Each line of the file should result in a different vector.</p>
  
  <p>Here's what I've come up with:</p>
  
  <pre><code>val empty: Vector[Vector[Char]]       = Vector()
  lazy val lines: List[String]          = Source.fromFile("test.txt").getLines.toList
  lazy val vecList: List[Vector[Char]]  = lines.map(str =&gt; Vector(str: _*))
  lazy val vector: Vector[Vector[Char]] = vecList.foldRight(empty) (_ +: _)
  </code></pre>
  
  <p>The file will never be large, so scalability isn't an issue.  The above code seems to work, but I feel like it's going all around the barn.  Is there a simpler, more direct way to do this?  </p>