Using a case expression in Haskell, or a match expression in Rust, ... mightFail :: Either String Int main = case mightFail of Left err ...
確定! 回上一頁