Code Snippets for Scala