Last active
December 28, 2015 14:09
-
-
Save hhariri/7512628 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data class Track(val title: String, val durationInSeconds: Int) | |
val pinkFloyd = listOf( | |
Album("The Dark Side of the Moon", 1973, 2, 1, | |
listOf(Track("Speak to Me", 90), | |
Track("Breathe", 163), | |
Track("On he Run", 216), | |
Track("Time", 421), | |
Track("The Great Gig in the Sky", 276), | |
Track("Money", 382), | |
Track("Us and Them", 462), | |
Track("Any Color You Like", 205), | |
Track("Brain Damage", 228), | |
Track("Eclipse", 123) | |
) | |
)) | |
// the rest omitted for brevity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment