Small pieces of Scala code.