match { case Some(age) => maybeAddr match { case Some(addr) => Person(name, age) case None => None } case None => None } case None => None } (maybeName, maybeAge, maybeAddr) match { case (Some(name), Some(age), Some(addr)) => Some(Person(name, age)) case _ => None } ◦ ͜͏͍͏ίʔυ͕ݟ͘͢վળͰ͖Δ ◦ matchͷωετΛݟͨΒforจͰॻ͖͑ΔϓϧϦΫνϟϯεʂ どこで終わるの、、、 ()多すぎ、、