Scalaz example