Useful Scala snippets

Andrew Conner