withMonad :: Int -> String -> Maybe String withMonad age name = validateAge age >>= \_ -> return (greet name)