Some basic examples from twitter scala school: http://twitter.github.io/scala_school