Skip to content

Instantly share code, notes, and snippets.

@hhariri
Last active December 27, 2015 20:09
Show Gist options
  • Save hhariri/7382824 to your computer and use it in GitHub Desktop.
Save hhariri/7382824 to your computer and use it in GitHub Desktop.
data class Album(val title: String, val year: Int, val chartUK: Int, val chartUS: Int)
val albums = listOf(
Album("The Dark Side of the Moon", 1973, 2, 1),
Album("The Wall", 1979, 3, 1),
Album("Wish You Were Here", 1975, 1, 1),
Album("Animals", 1977, 2, 3),
Album("The Piper at the Gates of Dawn", 1967, 6, 131),
Album("The Final Cut", 1983, 1, 6),
Album("Meddle", 1971, 3, 70),
Album("Atom Heart Mother", 1970, 1, 55),
Album("Ummagumma", 1969, 5, 74),
Album("A Sauceful of Secrets", 1968, 9, 0),
Album("More", 1969, 9, 153))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment