Simpel monad design in Scala