Skip to content

Instantly share code, notes, and snippets.

/**
* Given the following file, create a simple Scala programming example
* that would parse and then randomly output a quote.
* (http://www.coverfire.com/files/quotes.txt)
*/
import scala.io.Source
import scala.util.Random
case class QuotesForgery(quotes: List[String] = List(), val workspace: List[String] = List()) {