Skip to content

Instantly share code, notes, and snippets.

@iboss-ptk
Last active January 30, 2016 11:30
Show Gist options
  • Save iboss-ptk/26b27b273e485509d815 to your computer and use it in GitHub Desktop.
Save iboss-ptk/26b27b273e485509d815 to your computer and use it in GitHub Desktop.
case class Book(
id: Int, name: String, authors: List[String], rating: Double)
val books = List(
Book(1, "The Pragmatic Programmer",
List("Andrew Hunt", "Dave Thomas"), 4.3),
Book(2, "Lean Startup", List("Eric Ries"), 4.5),
Book(3, "Clean Code", List("Robert C. Martin"), 3.1),
Book(4, "Agile Software Development, Principles, Patterns, and Practices",
List("Robert C. Martin"), 4.5),
Book(5, "From Zero to One",
List("Peter Thiel", "Blake Masters"), 4.7)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment