Scala translations of The First Monad Tutorial by Philip Wadler, for YOW 2013