Use conditional operator ? provided by scalaz.