caseによる条件が不足している場合のエラー
match may not be exhaustive.
It would fail on the following input: (_, _)
指定したcaseの他に、その他のcaseを網羅する記述を追加すること。
以下全caseを網羅する例。
case _ => ...
caseによる条件が不足している場合のエラー
match may not be exhaustive.
It would fail on the following input: (_, _)
指定したcaseの他に、その他のcaseを網羅する記述を追加すること。
以下全caseを網羅する例。
case _ => ...