Small Scala solutions to common problems.